Question
What is the best way to remove files when you receive the following error?
/bin/rm: Argument list too long
Answer
Some commands, such as rm, are only able to process so much data. If you have a directory with several hundred thousand files or more, rm will likely not be able to remove this properly.
In order to perform that work, your system administrator would need to turn to the "find" command, possibly along with the "--delete" flag to search for files and remove them. These commands are dangerous if not used with caution, so no examples are provided here, so performing a web search to get familiar with the "find" command and everything it can do would be the best way to get those files removed from the system.