using find command in linux
March 24, 2010 Leave a comment
Find and xargs are two most useful command.
find where-to-find criteria what-to-do
1. apply a command to all files find:
find ./ -name getTh\* -exec svn add “{}” \;
will find a file starting with getTh and add to svn.
2. using with xargs
eg. find / -name core | xargs /bin/rm 0f
will remove all core files from system
