Return to Snippet

Revision: 50376
at August 19, 2011 02:09 by troyaner


Initial Code
for D in $(find ./ -maxdepth 1 -type d); do if [ $(du -sb $D |awk '{print $1}') -ge 1000000 ]; then echo $D;fi; done

Initial URL

                                

Initial Description
find directory, which size is greater than 1000000 bytes, echo path/

Initial Title
if directory size is greater than X bytes, echo path

Initial Tags

                                

Initial Language
Bash