Basic Auto-Nuke

#glftpd chat log 2015-08-27

[13:01:59] <Bsugar> tittof : do you use tur-autonuke ?
[13:22:39] <tittof> only very little of it
[13:22:46] <tittof> mainly the empty one
[13:23:00] <tittof> i mean empty nuke. I used to just use my own
[13:23:25] <tittof> which is also just a wrapper around "find"
[13:23:49] <tittof> but skips the "remember what I already warned" database that makes everything much simpler imho
[13:24:37] <Bsugar> ya
[13:24:46] <Bsugar> I'm not liking it
[13:24:58] <Bsugar> not to mention the syntax error warnings
[13:25:18] <tittof> you need any of its features?
[13:25:35] <Bsugar> I liked the pre-warning stuff
[13:25:45] <tittof> i use a find that crawls with find for "COMPLETE" directories/filenames
[13:26:08] <tittof> and let it only find it if its of a given age
[13:26:26] <tittof> and the second find for those that are old enough then nuke right away
[13:26:57] <Bsugar> did you keep the log to glftpd.log for warnings?
[13:27:24] <tittof> actually yes I used to keep the tur ANUKE message
[13:27:33] <tittof> just replaced the script :)
[13:29:29] <Bsugar> ya i'd like to take a peak [13:29:35] <Bsugar> at what you've got
[13:31:23] <tittof> already looking for it
[13:32:31] <tittof> ok there it is
[13:37:34] <tittof> http://nopaste.linux-dev.org/?452012
[13:38:04] <tittof> this isn't a drop in replacement but you get the idea
[13:39:20] * tittof sees siska laughin with tears in his eyes now
[13:42:47] <Bsugar> ya I can work with that
[13:42:48] <Bsugar> thanks
[13:43:06] <tittof> for that you have to make sure not to miss a run with cron
[13:43:14] <tittof> because it has (intentionally) no state
[13:43:39] <tittof> originally it was run on pure ram :]
[13:43:51] <Bsugar> k
[13:45:14] <Bsugar> you have a file named SECTIONS ?
[13:45:15] <Bsugar> hehe
[13:46:20] <tittof> everything is generated my friend
[13:46:29] <tittof> but you can replace that of course
[13:46:48] <tittof> you just had a peek into something that's obviously more integrated ;)
[13:47:51] <Bsugar> ya
[13:48:11] <Bsugar> need to incorporate with glutil
[13:48:18] <Bsugar> so that dirlog gets updated
[13:51:01] <tittof> im sure siska can beautify that a lot
[13:54:17] <Bsugar> nah
[14:49:08] <siska> tittof: looks fine to me

Go back to main page