[prev] [thread] [next] [lurker] [Date index for 2005/09/30]
Earle Martin skribis 2005-09-30 0:01 (+0100): > I'd like to see how big all the files/directories starting with a '.' in my > home directory are, please. > [...] > What the hell? Asterisk isn't matching '.'? Gah. I don't care any more. Glob patterns are interpolated by the shell, not the "du" program. Indeed, * is specified to not include dotfiles. An easy way to find out what is done is to use echo: echo * # all non-dotfiles echo .* # all dotfiles echo \.* # same echo '.'* # same Now, if you use .*, the first element is ., the current directory. The du utility helpfully gives you the du output for the current directory, which happens to include Mail. I hope you don't have root access... (rm -r .*) Juerd -- http://convolution.nl/maak_juerd_blij.html http://convolution.nl/make_juerd_happy.html http://convolution.nl/gajigu_juerd_n.html
Generated at 16:00 on 04 Oct 2005 by mariachi 0.52