Results 1 to 2 of 2

Find the top 5 big file

  1. #1
    Junior Member
    Join Date
    Jul 2009
    Posts
    15

    Default Find the top 5 big file

    The following command will display the top 5 largest file in the current directory and itís subdirectory. This may take a while to execute depending on the total number of files the command has to process.

    # find . -type f -exec ls -s {} \; | sort -n -r | head -5

  2. #2
    Junior Member
    Join Date
    Oct 2009
    Posts
    52

    Default

    Quote Originally Posted by vasudha View Post
    The following command will display the top 5 largest file in the current directory and itís subdirectory. This may take a while to execute depending on the total number of files the command has to process.

    # find . -type f -exec ls -s {} \; | sort -n -r | head -5
    great ! have you tried this command?how many seconds that it will recover those files? well i guess i had to try this command to find out myself..thanks..its an added knowledge on my part

Similar Threads

  1. Replies: 0
    Last Post: 23rd May 2012, 01:02 PM
  2. Find the top 5 small file
    By vasudha in forum Linux
    Replies: 0
    Last Post: 17th July 2009, 11:58 AM
  3. Remove big archive file using find command
    By vasudha in forum Linux
    Replies: 0
    Last Post: 17th July 2009, 11:51 AM
  4. Deleted a file? Find in black market
    By Rameshjeee in forum News from the Tech and IT World
    Replies: 0
    Last Post: 6th November 2008, 11:01 PM
  5. Help Me Find a .........
    By tiku009900 in forum Airtel Broadband
    Replies: 3
    Last Post: 30th January 2008, 01:07 PM