Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
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 ( #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
Node Status?
node history
Node Type: note [id://34864]
help
Chatterbox?
[RonW]: Choroba: I hope they get accepted
[marioroy]: ++ choroba
[1nickt]: Topics, choroba?
[james28909]: it assigns the output of yt-dl directly to a var, that way there is no files written to disk, and the var is removed in the end
[james28909]: @choroba yes they do but for some reasom when i try to pipe the output of youtube-dl to ffmpeg, it fails. hence the work around lol
[RonW]: james28909: Interesting trick
[choroba]: The theme is "High-end Perl", so both my talks are antitheses: "Low-end Perl" and "How to almost win a T-shirt in a programming contest"
[RonW]: I wonder if that's a CMD.exe limitation or a Windows limitation
[james28909]: what i am trying to accomplish is piping the output of ffmpeg to yet another encryption routine using libsodium. and hopefully once that is done i will be able to forward the packets to discord servers

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (16)
As of 2017-05-22 21:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?