I am deleting a directory which has almost 600 nested directories inside it using rm -rf <directory name>
. This command is showing error : File name too long.
I tried find <path to directory> -type d -delete
but this shows directory not empty error.
How to delete such directory?