All Questions
5
questions
1
vote
1
answer
2k
views
How to check the directory size using find command?
I would like to list the directories which is having size more than 10MB. I tried the same using find command but find command is not giving result with size and type option. It is working with any of ...
4
votes
3
answers
2k
views
Get the total size of all files of a given extension
I'm trying to get the total size of all the JPEGs in a particular folder, but no amount of combinations of options while piping to du seems to make this work:
find -type f -iname "*.jpg" | du -sch
...
1
vote
0
answers
118
views
Summing selective du sizes output
I am trying to find out how much space is consumed in total by files exceeding 50M in size. I am able to generate a list of file sizes with the following command:
find $PWD/soccer -maxdepth 50 -type ...
0
votes
2
answers
2k
views
Find directory name and file size in Linux
I have various folders used for product feeds across my server named 'empro'. Sometimes these folders fill up so I find them all on the server using:
find /var/www/vhosts -type d -name 'empro'
This ...
0
votes
1
answer
1k
views
'Du' command does not list all files
I receive different number of files with du -h and find:
loom@loom-desktop$ du -h ~/storage/Apps/*/trunk/test/*.cpp | wc -l
35
loom@loom-desktop$ find ~/storage/Apps/ -path */trunk/test/*.cpp | wc -l
...