3 answers
du -h -s /full/path/to/folder/
Example output for a folder with subfolders:
669M idea-IC-162.1812.17
- 2In the current directory, you can simply
du -hs .
- velikodniy
|
You can get the folder size using the du
command.
Team.
du -h --max-depth=1 | grep папка
Conclusion.
158M ./папка
|
Can be even simpler
du -h <имя-директории>
|