Hey folks,
I'm attempting to write a shell script that that will delete the content of the directory specified.
So for example, I want to be able to type: sh trash misc. Where trash is my shell script and misc is the folder I want to delete the contents of.
What would be the best way to go about this?
I'm thinking I need to use find . -delete in my script but I'm not sure.
Any help advice would be greatly appreciated.