How to list true size of files with holes
I don't think 'ls' has a flag for this. Is there a command or simple script to list files with actual disk space consumed for each - in other words the thin or sparse size, as opposed to what 'ls' reports?
|
Check out the wikipedia article.
|
Quote:
Change to the dir you wish to investigate, type, Code:
du Code:
du --help Hope this helps. Regards Glenn du is disk-usage, there is another df, disk-free. ;-) |
Maybe this will help a bit. No specific solution, but it does show blocks used in ls -ls
http://administratosphere.wordpress....t-why-and-how/ |
All times are GMT -5. The time now is 06:58 PM. |