i want to delete empty files and directories for path "/usr/
#find /usr -type d -empty
#find /usr -type f -empty
for me found 550dirs 8456files
Can I run ?
#find /usr -type d -empty -delete
#find /usr -type f -empty -delete
Is this a safe command?
Is there a problem for the system?
I wouldn’t do that, I see no benefits, that shouldn’t take a lot of space, as by definition these are empty. You would gain more space by deleting a MP3 file. On the other hand, it could be a problem, potentially, I don’t know but if this is a risk for basically no benefit, why would you?
Solely to accelerate the operating system
That would be very unwise - the os is not going to get faster - you are getting trouble.
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.