-bash: /usr/bin/rm: Argument list too long

rm -rf argument list too long.

Getting the above error while deleting log file.


Asked on July 19, 2020 in info.

The below command will delete the file of the cusrrent directory one by one. So you will not get such error.

find . type f exec rm v {} \;



on July 19, 2020.
Add Comment
0 Answer(s)

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.