We have a simple scripts that suppose to delete old folders. The problems is that it doesn't delete them recursively.
This is the command:
find $PWD -maxdepth 5 -mtime +80 | xargs -I{} rm -Rvf {}
It removes the files and folders but suddenly tries to remove a file from a directory it already deleted.
The server is running CentOS, and the folders are mounted using NFS from the storage.
What can we do?