Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

RE: RE: RE: search disk and prompt for deletion of files larger than a certain size

by redcloud (Parson)
on Oct 02, 2000 at 06:56 UTC ( [id://34864]=note: print w/replies, xml ) Need Help??


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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://34864]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (6)
As of 2024-04-19 10:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found