1. How to statistics the size of folders in a drive using linux?
du -h --max-depth=1 |grep 'G' |sort
2. How to count the number of folders in a drive using linux?
ls -lR | grep ^d | wc -l
The blog is focused on education, learning, or personal growth.
1. How to statistics the size of folders in a drive using linux?
du -h --max-depth=1 |grep 'G' |sort
2. How to count the number of folders in a drive using linux?
ls -lR | grep ^d | wc -l
Comments
Post a Comment