0

From inside a directory My_dir I get the content size with ls:

$ ls -sh
total 386M
94M Kammermusik_Nocturne_chnl1.wav  94M Kammermusik_Nocturne_chnl3.wav  11M Kammermusik_Nocturne_stereo-mix.mp3
94M Kammermusik_Nocturne_chnl2.wav  94M Kammermusik_Nocturne_chnl4.wav

with a total size of 386 Megabytes. Then I read the size of the whole directory from 1 directory-level before:

$ cd ..
$ ls -sh
total 16K
4,0K Dir1  4,0K Dir2  4,0K Dir3  4,0K My_dir

The size of My_dir is shown as only 4 Kilobytes?! What am I reading false, as the total file was reported as 386M!

Student
  • 111

0 Answers0