Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Favorites infavorites:mine
infavorites:1234
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with Search options user 70697

Manipulating files: copying, renaming, searching, analyzing, archiving, etc. For operating on text in a file, see /text-processing. For questions about the Files file manager (formerly Nautilus), see /nautilus.

4
votes
users, read & write access but will deny the delete access. From man setfacl: -d, --default All operations apply to the Default ACL. -R, --recursive Apply operations to all files and directories recursively. -m, --modify Options to modify the ACL of a file or directory. …
answered Sep 7 '16 by Rahul
3
votes
Do man xargs and look at the -I flag. find /path/to/directory -type f -exec grep -il "your pattern" {} \; | xargs -I % cp % /dest/dir/ To save typing put this command in shell script : #!/usr/bin …
answered May 23 '16 by Rahul
3
votes
This might help you, find / -user "your_username" -print That will print all files, directories starting from / partition which belongs to you. …
answered Aug 8 '16 by Rahul
1
vote
You can try this one using find and grep : find . -type f -name '*.php' -exec grep '.\{1000\}' {} +
answered May 5 '16 by Rahul
6
votes
You can use inotify-tools definitely from command line, e.g. like this : inotifywait -r -m /dir/to/monitor/ From man inotifywait -m, --monitor Instead of exiting after receiving a single eve …
answered May 18 '16 by Rahul
30
votes
You can use fdupes. From man fdupes: Searches the given path for duplicate files. Such files are found by comparing file sizes and MD5 signatures, followed by a byte-by-byte comparison. You can …
answered Apr 20 '16 by Rahul
3
votes
You can do the following, when your current directory is parent_directory: for d in [a-z] do ( cd $d && your-command-here ) done The ( and ) create a subshell, so the current directory isn't ch …
answered Jul 8 '16 by Rahul
11
votes
Short and precise < test.ogg tee test{1..100}.ogg or even better do tee test{1..100}.ogg < test.ogg >/dev/null see tee command usage for more help. Update as suggested by @Gilles, using tee h …
answered Jun 21 '16 by Rahul
5
votes
Don't specify the files or Directory Lets say you created the new folder (or are going to create one) and want to copy the files to it after the folder is created mkdir /test/folder cp -rp /path/to … /copy/. /test/folder This will copy all files/folder recursively from /path/from/copy in to the already existing folder created on the first line. Another approach is tar. For example: $cd foo $tar cf - . | tar -C /path/to/bar -x Using rsync : rsync -av src dest …
answered May 26 '16 by Rahul