2
votes
2answers
357 views

In linux, how do you get a total size of a folder for files that are 1MB and up

Hi im doing some cleaning up on my server and i want to know how would i get the total size of a folder of files that are 1mb and up and also 1mb and below. I got as far as: ls -lh | grep 'M ' But ...
0
votes
1answer
103 views

Email file and folder list with size?

I am trying to get a list of all files and folders with there sizes (upto 1st level, i.e. file and folder names with there sizes in current directory) emailed to me via an python script. I got the ...
0
votes
2answers
361 views

Why doesn't ls -lh show the total size of all the files and directories in each directory?

For example, it shows the kernel as being 18M but the Applications folder as being 3.8K BSD/Darwin