blog.usatenko.name
Monday, February 15, 2010
How to delete all folders with specific size
du -s * | grep 12776 | awk '{split($0,a," "); print a[2]}' > /tmp/a
while read line; do rm -rf $line; done < /tmp/a
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
Followers
Blog Archive
►
2014
(1)
►
June
(1)
►
2013
(1)
►
October
(1)
►
2012
(1)
►
October
(1)
►
2011
(8)
►
August
(1)
►
June
(1)
►
May
(1)
►
March
(1)
►
February
(2)
►
January
(2)
▼
2010
(18)
►
December
(1)
►
November
(5)
►
October
(2)
►
September
(1)
►
August
(2)
►
July
(1)
►
June
(4)
►
March
(1)
▼
February
(1)
How to delete all folders with specific size
►
2009
(10)
►
December
(3)
►
November
(1)
►
October
(5)
►
September
(1)
About Me
au
View my complete profile
No comments:
Post a Comment