du

[prev] [thread] [next] [lurker] [Date index for 2005/09/30]

From: Earle Martin
Subject: du
Date: 00:01 on 30 Sep 2005
I'd like to see how big all the files/directories starting with a '.' in my
home directory are, please.

earle@pulsar:~$ du -h \.*
4.0K    ./Mail
12K     ./.ssh
104K    ./photos/test
...

Whoa, hold on, "Mail" doesn't begin with a dot. Stop that. Okay, try
again. Maybe I need to quote the dot, or something.

earle@pulsar:~$ du -h '.'*
4.0K    ./Mail
12K     ./.ssh
104K    ./photos/test
...

Okay, that's not it. What does a simple listing do?

earle@pulsar:~$ du -h
4.0K    ./Mail
12K     ./.ssh
1.3M    ./photos/test
19M     ./photos
12K     ./.mozilla/firefox/nx0jka40.slt/chrome
...

Well, that's matching... something. I don't understand the sorting order.
Out of curiosity, let's see what happens if we throw in a wildcard.

earle@pulsar:~$ du -h *
8.0K    Calendar
2.5M    Desktop
1.6M    Incomplete
4.0K    Mail
36K     accounts
...

What the hell? Asterisk isn't matching '.'? Gah. I don't care any more.



-- 
Earle Martin
                 http://downlode.org/
http://purl.oclc.org/net/earlemartin/

Generated at 16:00 on 04 Oct 2005 by mariachi 0.52