Results 1 to 3 of 3

Thread: Checking size of file/folders

  1. #1

    Checking size of file/folders


    I the following two command give the names of the folder of files on the desktop which have their size in MB or GB, am I right?

    [root@localhost Desktop]# du -h |grep M

    [root@localhost Desktop]# du -h |grep G

    What do I need to use as a command to get the name of the files/folders within a particular range in terms of size ie MB or GB? If I want to know the names of the files/folders on the desktop that are larger than 5 MB but less then 10 MB in size? Thanks..

  2. #2
    find ~/Desktop -maxdepth 1 -size +5M -size -10M
    arrogance breeds ignorance

    Screaming Electron, Full of BSD Goodness

  3. #3
    Quote Originally Posted by Kernel_Killer View Post
    find ~/Desktop -maxdepth 1 -size +5M -size -10M
    Thank you...........

Similar Threads

  1. Checking temporary internet files' size
    By tech291083 in forum Redhat / Fedora
    Replies: 2
    Last Post: 10-20-2007, 09:16 AM
  2. Cannot Add Web Folders
    By dles01 in forum Windows - General Topics
    Replies: 0
    Last Post: 10-07-2006, 05:55 AM
  3. Not able to explore folders
    By vwgtiturbo in forum Linux - General Topics
    Replies: 7
    Last Post: 09-06-2003, 05:34 AM
  4. Web Folders??
    By mcdougrs in forum Windows - General Topics
    Replies: 1
    Last Post: 01-07-2003, 10:03 PM
  5. Samba file size limitation?
    By cloverm in forum Linux - Hardware, Networking & Security
    Replies: 10
    Last Post: 02-22-2002, 12:00 AM


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts