This morning I was amazed by the fact that Linux complained when i tried to remove a big bunch of files from a directory:
bash$ rm -f *.trc
-bash: /bin/rm: Argument list too long
Luckily I found a simple workaround:
bash$ find . -name '*trc' | xargs rm
No comments:
Post a Comment