• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Is there a shell tool to find folders greater than a given size?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Is there a shell tool to find folders greater than a given size?


  • Subject: Re: Is there a shell tool to find folders greater than a given size?
  • From: Peter Baxter <email@hidden>
  • Date: Fri, 29 Feb 2008 16:50:33 +1100

Why not use AS as this is a site for such scripts?

tell application "Finder"
get the name of every folder whose physical size is greater than 5.74971904E+9
end tell




On 29/02/2008, at 3:32 PM, Mark J. Reed wrote:

The size of a folder (beyond the physical size of its directory list)
is not readily available in the shell.  Typically you use the "du"
(disk usage) command to add up how much space a folder's contents take
up.  You could pipe the result through awk to find the folders whose
size exceeds your threshold value...but you'd still have the list
management problem.  I think I'd stick with the Finder on this one.



Peter Baxter email@hidden


There is hardly anything in the world that some man can't make a little worse and sell a little cheaper, and the people who consider price only are this man's lawful prey.-- John Ruskin



_______________________________________________ Do not post admin requests to the list. They will be ignored. AppleScript-Users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden
  • Follow-Ups:
    • Re: Is there a shell tool to find folders greater than a given size?
      • From: "Mark J. Reed" <email@hidden>
    • Re: Is there a shell tool to find folders greater than a given size?
      • From: demski <email@hidden>
References: 
 >Is there a shell tool to find folders greater than a given size? (From: "Gary (Lists)" <email@hidden>)
 >Re: Is there a shell tool to find folders greater than a given size? (From: "Mark J. Reed" <email@hidden>)

  • Prev by Date: Re: linebreak in a shell script; was Re: What's wrong with this call to zip?
  • Next by Date: Uninstall script
  • Previous by thread: Re: Is there a shell tool to find folders greater than a given size?
  • Next by thread: Re: Is there a shell tool to find folders greater than a given size?
  • Index(es):
    • Date
    • Thread