Delete Directories smaller than x
Posted
by harp
on Super User
See other posts from Super User
or by harp
Published on 2010-06-14T15:48:29Z
Indexed on
2010/06/14
15:53 UTC
Read the original article
Hit count: 142
How can I delete Directories which are smaller than, say, 1000 KB?
I already have a file list from the command:
du -sk * | sort -n > sort.txt
but I don't know how to proceed.
© Super User or respective owner