Tech Tots
Random thoughts on Linux, Java, security and other technical stuff...
Thursday, June 26, 2008
Argument list too long
Ever tried to do a "
rm *
" on a directory and got the error "
argument list too long
"? Use
xargs
and chain the commands!
ls | xargs rm
Found this gem here:
http://www.shell-fu.org/lister.php?id=251
No comments:
Post a Comment
‹
›
Home
View web version
No comments:
Post a Comment