Looking for a series of commands that will show me the largest files on a drive.
|
|
If you just need to find large files, you can use
If you want to find files between a certain size, you can combine it with a "size lower than" search. The next command find files between 10MiB and 12MiB:
From the package description:
On the "related packages" section of gt5, I found
|
|||||
|
|
This seems like the perfect application for
This command will find all files in directory Furthermore you can play around a lot with |
|||
|
|
|
I just use a combination of
Then it's a case of rinse and repeat. Target the subdirectories you think are too big, run the command for them and you find out what's causing the problem. Note: I use Note 2: |
|||
|
|
|
qbi's answer is correct but it will be very slow when there are a lot of files since it will start a new ls process for each item. a much faster version using find without spawning child processes would be to use printf to print the size in bytes (%s) and the path (%p)
|
|||
|
|
|
Try Baobab, it gives you a graphical overview of files and folders, you can see where the real space hogs are and delete them with one click https://help.ubuntu.com/community/Baobab |
|||||
|

