Re: Is there a shell tool to find folders greater than a given size?
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