Conversation
Notices
-
Embed this notice
>write backup script
>script takes backup
>deletes files older than 2 weeks
>script deletes itself after 2 weeks
- Sexy Moon, Puniko ? and narcolepsy and alcoholism :flag: and 2 others like this.
-
Embed this notice
you guys have no idea how confusing this one was to troubleshoot
-
Embed this notice
@quad
Reminds me of what I once did:
> write program to remove binaries
> launch it before writing the detection part as test
> successfully deletes the source code I wrote
-
Embed this notice
@JAJAX @quad And how do you plan to do this during development?
There's version control if I need to check if source code is left unmodified (sadly .git also was removed in my case, it was in it's working directory after all).
-
Embed this notice
@lanodan @quad I would never give a program the ability to modify the file system outside of a designated area that ABSOLUTELY doesn't include its own source code.