in reply to RE: RE: search disk and prompt for deletion of files larger than a certain size
in thread search disk and prompt for deletion of files larger than a certain size
The GNU versions can handle the
"whitespace in the directory name" problems:
find / -name '*.gz' -size +1000k -print0 | xargs -0 rm -i
or
find / -name '*.gz' -size +1000k -print0 | xargs -0 -p -n 1 rm
Note the -print0 switch on the
find and the -0
switch on the xargs command.