Re: How to find total MB of a directory plus all subdirectories

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Mar 08, 2007 at 20:35:12 +0100,
  Nigel Henry <cave.dnb@xxxxxxxxxx> wrote:
> 
> I have a question about du though. On the other machine where I wanted to find 
> out the size of my soundfiles directory, du couldn't access it because it was 
> named "Sounds Library" , without the quotes. I renamed it putting a hyphen 
> between the 2 words, and then du accessed the directory ok, but all of the 
> subdirectories are multi worded without any hyphens, and du didn't have any 
> problem with them. Any reason why du will not access the main directory 
> without hyphenated words, and yet has no problem with all the subdirectories?

Probably what happened is you typed:
du -k Sounds Library
instead of:
du -k "Sounds Library"

The first command tries to run du on two directories named "Sounds" and
"Library", whereas the second looks at just the directory named
"Sounds Library".

[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux