Sorry, that's not completely true either. It seems that when -fileoff and -maxfiles are specified, it implicitly adds -late too. So I end up deleting the newest file...
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
the -fileoff option is applied before files are sorted by date, making it useless in this context. furthermore it is unclear what -fileoff=5 should mean: will it skip the 5 oldest or newest files?
if you download the latest pre-relase for windows from
http://stahlworks.com/dev/pre/
you will now find a new option -skiplate=n which works as it says, it skips the most recent n files, keeping the older ones selected.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi, I've tried this with SFK 1.7.5 and 1.7.5 Revision 2 (Windows, using the executable available right from the StahlWorks site.
I have a backups folder, I'm trying to delete all but the 5 most recent backup files. It looks like
sfk list -old -fileoff=5
should do what I want, but fileoff (and fileoffset) seem to have no effect at all.
Am I doing something wrong or is it SFK?
Thanks for a great utility
I actually just found something that makes it do what I want, if I also use -maxfiles, then -fileoffset has the desired effect.
That seems to answer my question,
Jeff
Sorry, that's not completely true either. It seems that when -fileoff and -maxfiles are specified, it implicitly adds -late too. So I end up deleting the newest file...
the -fileoff option is applied before files are sorted by date, making it useless in this context. furthermore it is unclear what -fileoff=5 should mean: will it skip the 5 oldest or newest files?
if you download the latest pre-relase for windows from
you will now find a new option -skiplate=n which works as it says, it skips the most recent n files, keeping the older ones selected.