Drop some files in the basket and I'll tidy up
You will be asked to give permissions to add the folder action. You can reset them after installation
Execute
osascript -e install.scpt
This will ask you to select two folders:
- BASKET FOLDER. The one you will drop your files in.
- MEDIA FOLDER. The one where your files will live after tidying up.
Start droping files in your basket folder!
You can add the basket folder to Finder so you drop files easily
- Detach the folder action from basket folder
- Remove the action script
$HOME/Library/Scripts/Folder Action Scripts/basket.scpt
- Remove this folder
Automate uninstall
It will be nice to add the basket folder to the favorites section in Finder automatically but there is no clean way to do it at the moment using applescript. Check this out.
It seems the right way is by using LSSharedFileList which will try in the future.