Tag: find
Copy all Txt Files
May 18, 2008
Find and copy all files with ‘.txt’ extention from a directory to another find /home/binnyva -name ‘*.txt’ | xargs cp…
Remove all EXE files
April 15, 2008
Removes all exe files in the current directory tree. Useful to clear virus from flash drives. find . -name “*.exe”…
Searching text in a directory using find and grep
May 20, 2007
Use find and grep to search for a specific text in a directory. In this example, we search for files…
Remove CVS Information from a Folder
February 23, 2007
find -name CVS -exec rm -rf {} \; NOTE: Works only with bash
Recent Comments