On Wed, Jun 28, 2017 at 09:23:33AM -0400, Mark H. Wood wrote:
> On Tue, Jun 27, 2017 at 03:29:16PM -0500, Jason wrote:
> > I've been experimenting with tar. Let's say I decide to use tar and
> > forget about using rsync for mails, what would be some good options to 
> > use to only update the archive with new files? I have tried:
> > 
> > tar uGvf ~/Main/mail.tar /path/to/maildir
> > 
> > but it seems every time it is run it just adds copies of everything to
> > the archive again, instead of just what was added since last time.
> 
> Have you tried out 'zip -u'?

Thank you for that suggestion; it does almost what I want.
And 'zip -FS' suits my wishes even better - deletes any files from the
archive that no longer exist in the file system.

Thanks to everyone for your input!

> 
> -- 
> Mark H. Wood
> Lead Technology Analyst
> 
> University Library
> Indiana University - Purdue University Indianapolis
> 755 W. Michigan Street
> Indianapolis, IN 46202
> 317-274-0749
> www.ulib.iupui.edu



-- 
Jason

Reply via email to