rockitude Posted April 2, 2013 Share Posted April 2, 2013 Sick of accumulating a bunch of DMGs and other junk that you only needed to use once? This workflow cleans out your Downloads folder by moving everything that was in it to the trash. Empty Downloads Folder Link to comment
DJay Posted April 2, 2013 Share Posted April 2, 2013 Thanks rockitude. Whats the difference to the command ? mv ~/Downloads/* ~/.trash/ I was using this before. And maybe you could include additionally a command to empty the trash in the same way by keyword? At the moment I use rm -Rf ~/.Trash/* afplay /Users/Daniel/Dropbox/Alfred' '2/Alfred.alfredpreferences/workflows/user.workflow.3E5DC7E6-455E-4AFE-86BB-05954D9D1967/empty_trash.aif As you can see I also use a custom Sound. Link to comment
Guest Posted April 2, 2013 Share Posted April 2, 2013 DIR="$HOME/Downloads" rm -rf $DIR/* DIR="$HOME/.Trash" rm -rf $DIR/* Because moving everything into the trash and then removing everything from the trash makes not so much sense, i cleanup both folders with the above script. 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