nmh-workers
[Top] [All Lists]

Re: [Nmh-workers] mhstore overwriting files

2012-09-11 07:54:09

I looked quickly at the mhstore code last night and
see where to insert the hook for this.  That was the hard
part.

Any suggestions on adding this?

  -clobber [ask|suffix|never|always]

"always" is the current behavior, and might be the most
useful in scripts.  But I don't think that it should remain
the default.

"never" might be a bad idea?  Or the exit status could be
a count of files that were not overwritten.

I'd use "ask".

what would "-clobber suffix" do?  
(haven't been following this thread closely.)

"-clobber auto" please!?
incremented file names
like Firefox download does
"fu.gif" -> fu.gif fu(1).gif etc

steve
--


_______________________________________________
Nmh-workers mailing list
Nmh-workers(_at_)nongnu(_dot_)org
https://lists.nongnu.org/mailman/listinfo/nmh-workers

<Prev in Thread] Current Thread [Next in Thread>