Command
rm -f *
Error
bash: /bin/rm: Argument list too long error
Solution
Use following command line
$ find . -maxdepth 1 -name "*.txt" -print0 | xargs -0 rm
rm -f *
Error
bash: /bin/rm: Argument list too long error
Solution
Use following command line
$ find . -maxdepth 1 -name "*.txt" -print0 | xargs -0 rm