takesh h wrote:Hi TIG,
Another brilliant ruby script from the brilliant mind.
I'm going to add this gem to pushpullbar's Ruby Index, so let me clarify a couple of things before I do that.
1. Should I have the link few posts above as the "definite" version of archiver.rb for now? Can I request Didier Bur to update your archiver.rb in Ruby Library Depot to the above version? It doesn't look like Didier had time to update the site for quite some time.
2. I always thought "_" is more common (less problematic) divider than "-" in file names, is there any specific reason you chose "-" as a default divider?
Thanks in advance.
v1.7 is the best one - link to that. Didier can add v1.7 if he wants to...
It's easy to change the separators - edit the file and make sep="_" or whatever text you want that's allowed in filenames. The only advantage is that in the filename "model[yy-mm-dd_hh-mm-ss].skp" the date and time are more easily read separated by the _. You could even use sep="" and get "model[090407_072210].skp"... It's easily adjustable to suit your own whims...