Re: DELFILES utility
By: Digital Man to Psi-Jack on Fri Jul 03 2015 03:23 pm
DM> Re: DELFILES utility
DM> By: Psi-Jack to All on Wed Jul 01 2015 09:32 am
>> So, I was wondering why, certain file bases I have setup to keep track
>> of X number of files, but no max age, weren't getting deleted..
>> Specifically nodelist fileecho's and the likes.
>> So it seems that DELFILES itself only acts on file bases that have an
>> actual max age.. Is there no actual way to get delfiles to keep the
>> latest X files and delete the older ones, without using the max age?
DM> No, that is not a feature of delfiles. I'm not sure how that would work
DM> anyway: how would delfiles (or Sychronet) know that nlst001.zip was a
DM> never version nlst000.zip (or whatever the naming scheme was). Or were you
DM> thinking that all revisions of the same file would use the same filename?
Hmmm, well, really, I was thinking of just by age alone, if a max number of
files is setup and the file base exceeds that number, it would purge out the
older files by the overall age of all the other files. I'm guessing that the
filebase database has the date to which it was uploaded/added, so if, for
example, in a NODELIST fileecho for FidoNet, I set Max Files to 12, I would
effectively keep only the past 3 months of files, while older ones would be
deleted.
Purge By Age could do this similarly, yes, but it poses the potential problem
that IF new files aren't being added, for whatever reason, you could end up
with an empty directory should the problem persist and no new files ever get
added appropriately.
Thoughts?
)))[Psi-Jack -//- Decker]
... Immortality--a fate worse than death.
---
■ Synchronet ■ Decker's Heaven -//- bbs.deckersheaven.com
|