Skip to main content

Remove large number of files?

Comments

3 comments

  • cPanelLauren
    Hi @Nakshathra What folder is it in? If it's easier you might delete the folder itself. Otherwise you'd need to use find and delete to do this since rm won't be able to do this: cd to the directory in question and run something like: find . -type f -delete
    0
  • Nakshathra
    Hello, Thank you for the response .it's a folder under home/user.. deleting the folder or file inside it didn't work due to the number files in it. Any other way ?
    Hi @Nakshathra What folder is it in? If it's easier you might delete the folder itself. Otherwise you'd need to use find and delete to do this since rm won't be able to do this: cd to the directory in question and run something like: find . -type f -delete

    0
  • Infopro
    You should be able to remove the directory from cPanel File Manager. Try it and let us know if you get an error.
    0

Please sign in to leave a comment.