Jan
28
I had a strange problem when trying to list all files i a folder.
I typed:
find . *.gz
And received:
-bash: /usr/bin/find: Argument list too long
After searching on internet I saw a lot of similar problems, but then I remembered one of my old posts
bash: /bin/rm: Argument list too long – How to fix it
After reviewing it for on more time I found my mistake
Correct syntax is:
find . -name "*.gz"
Comments
One Response to “-bash: /usr/bin/find: Argument list too long – Fix”
Leave a Reply
You must be logged in to post a comment.
thanks for your post very useful