whitefort
October 27th, 2008, 05:27 AM
Sorry for another such noobish question.
I presume Arch has a shutdown script of stuff that needs to be done before a shutdown?
I was wondering if there was any way to add one of my own. For example, in the course of a day I manage to fill a few 'junk' folders with various stages of work-in-progress. At the end of the day, I move the versions I want to keep to a 'proper' folder, and delete all the others.
I was just wondering if there's a way I could set up a little script (basically doing a 'rm *.*' on the contents of the junk folders) that would always execute on shutdown (or even better, every time I log out)
If not, I'll still make the script and run it by hand, but I'm sure Arch has an easy way to automate this sort of thing?
Thanks!
I presume Arch has a shutdown script of stuff that needs to be done before a shutdown?
I was wondering if there was any way to add one of my own. For example, in the course of a day I manage to fill a few 'junk' folders with various stages of work-in-progress. At the end of the day, I move the versions I want to keep to a 'proper' folder, and delete all the others.
I was just wondering if there's a way I could set up a little script (basically doing a 'rm *.*' on the contents of the junk folders) that would always execute on shutdown (or even better, every time I log out)
If not, I'll still make the script and run it by hand, but I'm sure Arch has an easy way to automate this sort of thing?
Thanks!