|
|
Clear Downloads Folder using AppleScript
Just a FYI...
You should use (path to downloads folder) in place of the hard coded path. Hard coding paths in a script is a bad idea.
Clear Downloads Folder using AppleScript
I agree. You could also use (path to me) and employ this script in any other folder, albeit the app name becomes relevant. Perhaps "Empty This Folder" is more universal.
Clear Downloads Folder using AppleScript
I must be really bored today:
Be careful where you run it, because it will Trash everything in its directory. I thought about using do shell script and rm, but this method allows the user to recover with a simple Command-Z (Undo Move).
Clear Downloads Folder using AppleScript
Nice one! I like a simple one-liner, and will be employing this in my Downloads folder...which does get way overloaded with junk seemingly all the time. |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysNo new commentsLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.09 seconds |
|