Oct 13, 2003 #1 darfader Programmer Aug 6, 2003 38 GB Hi, I am using this to locate large files ls -l | sort -n +4 | tail -9 however, it only reports from the current directory I piped it to find. but without success Is there a way to fine the top nine largest files from a directory and it's sub-directories, tia,
Hi, I am using this to locate large files ls -l | sort -n +4 | tail -9 however, it only reports from the current directory I piped it to find. but without success Is there a way to fine the top nine largest files from a directory and it's sub-directories, tia,
Oct 13, 2003 1 #2 PHV MIS Nov 8, 2002 53,708 FR You can try something like this: Code: find . -type f -exec ls -l {} \; | sort -n +4 | tail -9 Hope This Help PH. Upvote 0 Downvote
You can try something like this: Code: find . -type f -exec ls -l {} \; | sort -n +4 | tail -9 Hope This Help PH.
Oct 13, 2003 1 #3 fredericofonseca IS-IT--Management Jun 2, 2003 3,324 PT man find The find command has an option to search for files bigger than a specified amount. Look for it. Regards Frederico Fonseca SysSoft Integrated Ltd http://www.syssoft-int.com Upvote 0 Downvote
man find The find command has an option to search for files bigger than a specified amount. Look for it. Regards Frederico Fonseca SysSoft Integrated Ltd http://www.syssoft-int.com
Oct 13, 2003 #5 CaKiwi Programmer Apr 8, 2001 1,294 US To find all files over a specified size, use find . -size +10000 -print CaKiwi "I love mankind, it's people I can't stand" - Linus Van Pelt Upvote 0 Downvote
To find all files over a specified size, use find . -size +10000 -print CaKiwi "I love mankind, it's people I can't stand" - Linus Van Pelt