find and remove files
January 23rd, 2007 by Lawrence David
i know there must be a bazillion ways to find and remove files in unix. here’s one that works when ‘rm’ chokes on “too many files”:
find ./ -name “my_pattern” -exec rm -rf {} \;
January 23rd, 2007 by Lawrence David
i know there must be a bazillion ways to find and remove files in unix. here’s one that works when ‘rm’ chokes on “too many files”:
find ./ -name “my_pattern” -exec rm -rf {} \;