Top "Find" questions

This tag has multiple meanings.

find -exec with multiple commands

I am trying to use find -exec with multiple commands without any success. Does anybody know if commands such as …

bash find
How do I find all of the symlinks in a directory tree?

I'm trying to find all of the symlinks within a directory tree for my website. I know that I can …

bash find symlink
How to pipe list of files returned by find command to cat to view all the files

I am doing a find and then getting a list of files. How do I pipe it to another utility …

unix find pipe
Delete files older than 10 days using shell script in Unix

I'm new to shell scripts, can anyone help? I want to delete scripts in a folder from the current date …

bash shell unix find
How to only get file name with Linux 'find'?

I'm using find to all files in directory, so I get a list of paths. However, I need only file …

linux shell find
How do I find files that do not contain a given string pattern?

How do I find out the files in the current directory which do not contain the word foo (using grep)?

file grep directory find
Find and copy files

Why does the following does not copy the files to the destination folder? # find /home/shantanu/processed/ -name '*2011*.xml' …

linux copy find
How to use find command to find all files with extensions from list?

I need to find all image files from directory (gif, png, jpg, jpeg). find /path/to/ -name "*.jpg" > log …

unix shell find
How to loop through file names returned by find?

x=$(find . -name "*.txt") echo $x if I run the above piece of code in Bash shell, what I get …

bash find
How to find the files that are created in the last hour in unix

How to find the files that are created in the last hour in unix

unix find