If you have a specific folder to delete, you can write a sh
file.
my-remove.sh:
rm -rf /path/to/your/folder
please don't forget to execute chmod
on it:
chmod a+x my-remove.sh
Then you can remove /path/to/your/folder
when you double click my-remove.sh
EDIT:
I'll sum it here.
1, Open Terminal in mac
2, cd ~/Desktop
3, touch my-remove.sh
4, echo "rm -rf /path/to/your/folder" > my-remove.sh
5, chmod a+x my-remove.sh
Then you can see a my-remove.sh
file on your desktop, double-clicking it would remove /path/to/your/folder
EDIT AGAIN:
Sorry, seems that only chmod
is not enough, please see this post