Jb_Bryant Posted March 8, 2013 Share Posted March 8, 2013 I'm assuming this may be done with an applescript or something like that, but could someone give me some guidance as to how I could empty the Downloads folder with a workflow? Link to comment
jdfwarrior Posted March 8, 2013 Share Posted March 8, 2013 Well if you don't want to perform any checks on it or anything could just make it run a script that cd's to the folder and then runs 'rm -rf ./*' Link to comment
Jb_Bryant Posted March 8, 2013 Author Share Posted March 8, 2013 I don't know much about AppleScript syntax... I guess I should hit the books. Link to comment
Jb_Bryant Posted March 8, 2013 Author Share Posted March 8, 2013 Or you must mean a regular script. See how little I know. Link to comment
Weaselboy Posted March 8, 2013 Share Posted March 8, 2013 I'm assuming this may be done with an applescript or something like that, but could someone give me some guidance as to how I could empty the Downloads folder with a workflow? I have a workflow that runs this bash script to empty the DL folder to the trash. mv ~/Downloads/* ~/.trash/ Link to comment
Jb_Bryant Posted March 8, 2013 Author Share Posted March 8, 2013 I have a workflow that runs this bash script to empty the DL folder to the trash. mv ~/Downloads/* ~/.trash/ That's perfect. I don't really want to use rm as I don't want them deleted immediately. Thanks! Link to comment
Captain Picard Posted March 15, 2013 Share Posted March 15, 2013 Fort those who would like this in extension form: https://www.dropbox.com/s/7daldo5tsnv1foc/Empty%20Downloads.alfredworkflow Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now