Advertisements
I am trying to use du to get a total of all dirs sizes and totaled at the end.
I don’t want certain dirs I would like to total everything show total at the end.
>Solution :
I think the answer you are looking for is this command:
du -csh tutorials/target/ tutorials/test_dir
Here is the example output:
36K tutorials/target/
12K tutorials/test_dir
48K total