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

Re: File size reporting



hi..jenya.
> I would like to get a total file size reporting for multy-level 
> directory 
> structure, like right click-> Properties in Windows.
> 
> Note, i don't need a disk usage ( du -sk ), just total file size. 
try:
[else@where]#du -smL <file_name>
it will give u the size in megs.
or
[else@where]#du -skL <file_name> 
-"---------------------"-- kilos

this is identical to windoze properties.
also , please try:
man du

i ignore your comments to "wc" command

about the tarring idea...
how would u then know what's the size of a directory 
that after being tarred is bigger than your free disk space ?

that's it.
hope this helps.
ciao


=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il