(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:

 
"If Barbie is so popular, why do yo have to buy her friends?"

Powered by Wordpress. Theme by Shlomi Noach, openark.org
© 2017 KwaLinux Trainingen | Algemene voorwaarden | KvK: 10147727 | Disclaimer