a backup. Brock. Well Brock, I've done worse. And Larry has heard me go, I deleted my whole install. So yeah, RM is very powerful and another thing, never do it when you're sleepy. Yeah, when I do batch scripts to delete things, I try not to use RM at all. What I do is I move the file, so I use MV instead, to a temporary folder. And then I go in through the file manager and delete that folder. Because then I can see what I'm deleting and it's not happening automatically, but I collect everything that needs to be deleted in one place. So it's just a right click and a delete and they're gone. So it accomplishes the automation without the risk of deleting something incorrectly or having something fail within the script and then it automatically goes on to the next step in the script, which is to delete the stuff that you'd never processed in the first place. So that's one way to handle it. I know there are a lot of others, like good programming steps, like checking to make sure that (31/48)
You are viewing a single comment's thread from: