Linux Today: Linux News On Internet Time.
Search Linux Today
Linux News Sections:  Developer -  High Performance -  Infrastructure -  IT Management -  Security -  Storage -
Linux Today Navigation
LT Home
Contribute
Contribute
Link to Us
Linux Jobs

Partner Sites
JustLinux.com
Linux Planet
PHPBuilder
Technology Jobs

Top White Papers

More on LinuxToday


real world FIND usage

Jul 15, 2009, 19:32 (0 Talkback[s])
find . -type f -size +10000 -exec ls -al {} ;
find . -atime +1 -type f -exec mv {} TMP ; # mv files older then 1 day to dir TMP
find . -name "-F" -exec rm {} ;   # a script error created a file called -F 
find . -exec grep -i "vds admin" {} ;
find . ! -name "*.Z" -exec compress -f {} ;
find . -type f ! -name "*.Z" ! -name ".comment" -print | tee -a /tmp/list
find . -name *.ini
find . -exec chmod 775 {} ;
find . -user xuser1 -exec chown -R user2 {} ;
find . -name ebtcom*
find . -name mkbook
find . -exec grep PW0 {} ;
find . -exec grep -i "pw0" {} ;

Complete Story

Related Stories: