I have a task which contain a series of manual steps. One of the steps is to execute
rm -rf *. Everything in the folder does need to be deleted but this seems a little dangerous for example. if the user is not paying attention and is in the wrong folder when they run the command.
Is there any safe way to preform the task of removing everything in the folder?