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

Solution:

1. Remove the Current Directory

Note: It will remove all files.

2. Remove Selected Files

Note: xargs command reads data from standard input (stdin) and executes the command (supplied to it as argument) one or more times based on the input read.

Leave a Reply

Your email address will not be published. Required fields are marked *