Created
August 13, 2013 19:02
-
-
Save jskripsky/6224523 to your computer and use it in GitHub Desktop.
schuler zoom pic clean-up
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[root@schuler generated]# for d in `find -maxdepth 1 -type d | grep -v "\.$"`; do echo "rm -rf $d"; done | wc | |
6672 20016 153456 | |
[root@schuler generated]# ls *.xml | wc | |
6672 6672 120096 | |
[root@schuler generated]# rm *.xml -f | |
[root@schuler generated]# df -h | |
Filesystem Size Used Avail Use% Mounted on | |
/dev/mapper/vg_mercury-lv_root | |
75G 69G 5.1G 94% / | |
/dev/vda1 194M 30M 155M 17% /boot | |
tmpfs 2.0G 4.0K 2.0G 1% /dev/shm | |
[root@schuler generated]# for d in `find -maxdepth 1 -type d | grep -v "\.$"`; do rm -rf $d; done | |
[root@schuler generated]# df -h | |
Filesystem Size Used Avail Use% Mounted on | |
/dev/mapper/vg_mercury-lv_root | |
75G 32G 43G 44% / | |
/dev/vda1 194M 30M 155M 17% /boot | |
tmpfs 2.0G 4.0K 2.0G 1% /dev/shm | |
[root@schuler generated]# |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment