I'm trying to write a script that will calculate a directory size and if the size is less than 10GB, and greater then 2GB do some action. Where ... ... <看更多>
Search
Search
I'm trying to write a script that will calculate a directory size and if the size is less than 10GB, and greater then 2GB do some action. Where ... ... <看更多>
I know I can use du -h to output the total size of a directory. But when it contains other subdirectories, the output would be something ... ... <看更多>
Bash Script for viewing folder sizes. Just put this code into a file /bin/treesize and make it executable. Then any system user can get a list of directory ... ... <看更多>
In this video, we'll see that how to check File Size, Folder Size, Mount Point size in Linux. Commands used in this video: df -h du -sh ll ... ... <看更多>
List folder size in descending and ascending order via du and sort command in bash. ... <看更多>