Is there anyway to delete a directory that has more than 200mil files?
I have a directory in my server which has grown incredibly huge with high
volume of files. The files were output files generated by the print server.
I'm having problem with removing the files or even the entire directory,
the CPU rate will hit peak whenever I execute the 'rm' command to remove
the files. I also can't do a 'du -sk' of the dir bcos it just hang.
Below is the status of the file when a do a 'ls' from the parent directory :
drwxr-sr-x 2 appltest oradba 204728832 May 30 15:10 log_to_removed
Can anyone help to advise what is the best way to remove or scrape this directory which is taking up space in my server?
Thks,
Patrina
|