We created a lot of garbage log files in our last project. ~60k files taking 2GB of space.
Ok, let's delete some of them. I don't need those xml files so I backed them up and I tried:
I had to delete them in groups that are smaller than 10k files.
Let's try the same thing with another OS:
Extract backup to win7 machine. Go to console. Try:
Ok, let's delete some of them. I don't need those xml files so I backed them up and I tried:
rm *.xml
Permission denied Permission denied ...Ok:
sudo rm *.xmlEverything goes ok.
ls~60k files still here?!? WOOT?
I had to delete them in groups that are smaller than 10k files.
sudo rm 21*.xmlIt worked
Let's try the same thing with another OS:
Extract backup to win7 machine. Go to console. Try:
del *.xmlFiles are gone!
No comments:
Post a Comment