• 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: Ed Stockly <email@hidden>
  • Date: Sat, 1 Mar 2008 17:15:52 -0800

Anybody else have problems with this script?

When I run it on my mac it takes about a minute to crash script debugger or script editor. (The choose from list dialog takes up the entire screen, with and the buttons are not resposive, and I have to force quit).

When I drop the choose from list command, it doesn't crash, but it seems to ignore the choose folder command and returns results from my user folder, and the results are the directory path, without any size info, and the paths aren't returned in any kind of hierarchical format or logical order.



ES

property msize : 999


do shell script "du -k " & (POSIX path of (choose folder)) & " | awk -e '{ if ( $1 > " & msize & " ) { print $2; }}' "

every paragraph of result

choose from list result


=
 _______________________________________________
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: Shane Stanley <email@hidden>
References: 
 >Re: Is there a shell tool to find folders greater than a given size? (From: "Steven D. Majewski" <email@hidden>)

  • Prev by Date: Re: Illustrator CS3 how to import graphic styles?
  • Next by Date: Re: Is there a shell tool to find folders greater than a given size?
  • 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