Find stuff in *nix:
find /file_system/file_system -name file_name -type f -exec rm {} ;
What this does is, find files (-type f) with the name file_name in given file_system and executes rm
November 26, 2008
Comments Off on Find and do things in *nix
Find stuff in *nix:
find /file_system/file_system -name file_name -type f -exec rm {} ;
What this does is, find files (-type f) with the name file_name in given file_system and executes rm