(Tips & Tricks) xargs

January 30, 2014

Seperate arguments by only a newline: xargs -d “\n”.

find / -name '*.bak' | xargs -d "\n" -r rm (otherwise filenames with space cause trouble)

tags:

 
"It's hard to make a comeback when you haven't been anywhere."

Powered by Wordpress. Theme by Shlomi Noach, openark.org
© 1997 - 2022 KwaLinux Trainingen | Algemene voorwaarden | KvK: 10147727 | BTW-id: NL001873211B65 | Disclaimer