Copy all Txt Files
Find and copy all files with ‘.txt’ extention from a directory to another
find /home/binnyva -name '*.txt' | xargs cp -av --target-directory=/home/backup/ --parents
Find and copy all files with ‘.txt’ extention from a directory to another
find /home/binnyva -name '*.txt' | xargs cp -av --target-directory=/home/backup/ --parents
Creating a tag in SVN means that you copy the entire trunk to another folder in the ‘tags’ folder…
svn copy trunk/ tags/TAG_NAME
Use find and grep to search for a specific text in a directory. In this example, we search for files which uses the PHP short tag – <?
find -name '*.php' -exec grep '<?[^p\=]' {} \;