I'm trying to create a graph of the distribution of file sizes on my ext4 system. I'm trying to write a script to scrape this information from my computer somehow. I don't care where the files are stored in the directory structure, only how much space each takes up.
Hello All,
I am transfering a gzipped file from LINUX to LINUX using scp -C comand.
It is a nightly job, called by crontab. After copy finishes, the file sizes are different between source and destination. Say .gz file is 14782805941 bytes on source and 13496172544 bytes on destination.
I have used JDiskReport published by JGoodies to analyse the file size distribution on Windows. I am wondering if there is anything that is an equivalent of JDiskReport for ubuntu.
I ask this not for finding the file sizes on a particular system, I have used a shell script to find all the file sizes, but I would like to understand the file size distribution in a pictorial format.
As the subject says; I want to know why is every directory having a size equals to 4K even if they contain files with sizes greater than 4K.
Please have a look at the following:-
a)
b)
PS: I am aware of 'du -sh' command line utility.
edit: I am assuming directory as a container for files.
Hi! I started my Linux adventure just few weeks ago. Here's my biggest problem yet... :wall:
How to get total size in bytes of all files inside directory?
So far I've found this solution: du -bs /path_to_my_directory
But it's not good. It gives me total size in bytes of all files inside directory and its subdirectories - that's cool - but it also adds the size of the directory itself.
I want to do something like this
du -a | sort -rn | head
But I want to extract files only, ignoring directories.
To be clear, I want to traverse through all sub-directories but I don't want to find directory sizes. Just files sizes.
UPDATE
I also want to return the full path of the files
Is there any reasonable way to tell if two pdfs are the same? The file sizes are not exactly the same (3422406 bytes vs 3421310 bytes) but from just looking at them I can't see any differences. Any thoughts?
Thanks,
Dave
Hello,
Livecd requires attention with packages sizes. However, there is no exact mean to decide whether f.ex. LibreOffice or wine will take 100Mb or 500Mb. Apper does not show packages sizes. Also, it is not clear from .ks files what really be installed. The only moment to check sizes is when the packages are installed in the middle of livecd-creator execution (but it is too late).
Hi,
We have recently built some RAC (OS:RHEL55) servers and after the Oracle guys have installed their application, somehow the directory / is using the maximum space.