Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

shell get size of directory

du -h your_directory
# gives you the size of your target directory.
du -hcs your_directory
# If you want a brief output.
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #shell #size #directory
ADD COMMENT
Topic
Name
4+8 =