You are not logged in.
Hello all,
I have two questions, any help would be appreciated:
1) Is there a way to make "ls -l" to show the 'real', total size of the folders (that is incl all files and subfolders recursively)?
I have looked the man page and I believe that there isn't, but just to make sure I'm not missing something..
2)Is there a way to tell du to ommit hidden files?
Thanks a lot in advance..
Offline
* glob skips hidden files by default
du -sh *
Offline
* glob skips hidden files by default
du -sh *
shopt -s dotglob
*runs*
"I'm Winston Wolfe. I solve problems."
~ Need moar games? [arch-games] ~ [aurcheck] AUR haz updates? ~
Offline
try ncdu
Offline
shopt -s dotglob
shopt -s dotglob will turn this on (so you will scan hidden folders)
shopt -u dotglob will turn it off
Offline
* glob skips hidden files by default
du -sh *
Thanks a lot!! That did the job!
@sirocco Thanks for the suggestion, I already know and use ncdu, and I love it!
I just want something quicker when I browse things quickly.
Offline