Re: Looking for empty folders
Re: Looking for empty folders
- Subject: Re: Looking for empty folders
- From: Jakub Formánek <email@hidden>
- Date: Fri, 6 Mar 2009 15:39:30 +0100
6.3.2009 v 15:18, Ronald Hofmann:
Hi all,
I tryin to find all empty folders inside myMainFolder.
This what I tried:
tell application "Finder"
get empty folders in folder "MacOSX:Users:ronny:Desktop:Icons:"
end tell
Which doesn´t work. Any clues?
Try this:
find -d "path" -type d -empty
Example: find -d ~/Desktop -type d -empty
AppleScript Example: set emptyFolders to do shell script ("find -d ~/
Desktop/Icons -type d -empty")
-jf _______________________________________________
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