User Tools

Site Tools


how_to_find_the_size_of_folders

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
how_to_find_the_size_of_folders [2023/11/08 23:31] walkeradminhow_to_find_the_size_of_folders [2023/11/08 23:37] walkeradmin
Line 54: Line 54:
     drwxr-xr-x. 2 root root        105 Aug  9 11:19 virgin     drwxr-xr-x. 2 root root        105 Aug  9 11:19 virgin
     drwxr-xr-x. 2 root root       4096 Aug  9 11:20 zb     drwxr-xr-x. 2 root root       4096 Aug  9 11:20 zb
 +Now I use the following:
     du -h -s      du -h -s 
 The output is: The output is:
     30G     .     30G     .
-However, if I use +However, if I use the same with a star * at the end: 
- +<file> 
- +du -h -s *
- +
- +
  
 +1.3G    1080i
 +2.5G    avp.ts
 +15G     bbc
 +502M    CRa
 +832K    example
 +576M    itv
 +4.0K    kill_all_mpeg2ts_broadcaster.sh
 +808K    libos.so
 +2.4G    MK.ts
 +20K     mpeg2ts_broadcaster
 +776M    Oro4KTest.ts
 +554M    virgin
 +7.5G    zb
 +</file>
 +\\ 
 +\\ 
 +I could have done the same thing from say root by issuing the command:
 +<file>
 +du -h -s /home/streamer/bin/*
  
 +1.3G    /home/streamer/bin/1080i
 +2.5G    /home/streamer/bin/avp.ts
 +15G     /home/streamer/bin/bbc
 +502M    /home/streamer/bin/CRa
 +832K    /home/streamer/bin/example
 +576M    /home/streamer/bin/itv
 +4.0K    /home/streamer/bin/kill_all_mpeg2ts_broadcaster.sh
 +808K    /home/streamer/bin/libos.so
 +2.4G    /home/streamer/bin/MK.ts
 +20K     /home/streamer/bin/mpeg2ts_broadcaster
 +776M    /home/streamer/bin/Oro4KTest.ts
 +554M    /home/streamer/bin/virgin
 +7.5G    /home/streamer/bin/zb
 +</file>
  
 ---- ----
how_to_find_the_size_of_folders.txt · Last modified: 2023/11/08 23:38 by walkeradmin