bash if size file code example
Example: bash size file
du -hs file/or/folder/path
---------------------------------------------------
-h for human readable
-s for summary: only total amount, not single files
du -hs file/or/folder/path
---------------------------------------------------
-h for human readable
-s for summary: only total amount, not single files