CentOS: how to deal with a folder containing very large number of files

  • Post category:CentOS

 

So, you’ve left that cron running for a couple of months and now you have several hundreds of thousands of files in one folder that you would love to delete but you cannot even list them?

The situation is rather trivial if you can just delete the folder with all it’s contents but what do you do if there are other files in the folder that shouldn’t be removed?

First of all it is good to understand how many files you have in the folder. In order to check how many files you have in specific folder on CentOS first navigate to the folder (more…)

Continue ReadingCentOS: how to deal with a folder containing very large number of files