
When you’re trying to delete the contents of a large directoty, for example php sessions, you might come across this error when running:
rm -rf /path/to/folder
To solve this issue I use the following:
# find /path/to/folder -name '*' | xargs rm
Make sure the folder path you provide is correct, this action is destructive and non reversible.
Leave a Reply