I was trying to delete all the directories whose names end with ".files" using find command as:
find ~ -name "*.files" -delete
but following error came:
find: cannot delete `/home/rahul/Music/amitabh hits/32. Naseeb-Zindagi Imtihaan Leti Hai (Kamlesh, Awasthi, Anwar.wma.files': Directory not empty
Is there any command to delete a directory which is not empty, using find or any other unix command.
Thanks in advance....