LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Need a bit of help with ls (https://www.linuxquestions.org/questions/linux-newbie-8/need-a-bit-of-help-with-ls-667157/)

FarseerWraith07 09-02-2008 03:41 PM

Need a bit of help with ls
 
Ok, here is what I've got.
I have a Cyrus IMAP mail server and we are possibly migrating to Gmail. Gmail's biggest restriction is that no file over 20 Megs will be transferred.

I have been looking for an example of a command line that will go into each Inbox folder of each user and sort all the data to show how many files over 20 Megs are in the users Inboxes.

It will probably be a complex version of find with a recursive Grep somewhere, but I'm kinda lost right now, being relatively new to Linux.

I am using Centos 5.1 on this server.

popowich 09-02-2008 04:28 PM

find /path/to/mail/directories -size +20M


All times are GMT -5. The time now is 01:37 PM.