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 Sun, Mar 11, 2007 at 22:42:41 +0100,
  Nigel Henry <cave.dnb@xxxxxxxxxx> wrote:
> 
> $ find /path/to/folder -type f | wc -l
> 
> I did try ls -a, and ls -al, but both just give a subdirectory list, one with 
> a bit more info than the other.

find is probably the best solution in this case. But if you do want a
recursive directory list use the -R option. (On commands where recursion
is an option, it is usually -r or -R. Use the man command or the --help
option to get more information about the command.)


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux