<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 08/25/2013 03:43 AM,
<a class="moz-txt-link-abbreviated" href="mailto:scribus-request@lists.scribus.net">scribus-request@lists.scribus.net</a> wrote:<br>
</div>
<blockquote class=" cite"
id="mid_mailman_379_1377420217_12606_scribus_lists_scribus_net"
cite="mid:mailman.379.1377420217.12606.scribus@lists.scribus.net"
type="cite">
<pre wrap="">does anybody know if zip and tar can cope well with replacing files?
<span class="moz-txt-citetags"></span></pre>
</blockquote>
The man file for zip says, "When given the name of an existing zip
archive, zip will replace identically named entries in the zip
archive (matching the relative names as stored in the archive)
or add entries for new names."<br>
<br>
So, each time you invoke "zip myprojectimages.zip
/path/to/myproject/images/*" you will update any changes made as
well as add any new images that have been placed there since the
last archiving.<br>
<br>
tar can behave the same way by using the -u (update) option so just
changes are overwritten (saves time).<br>
<br>
You can can manually create an archive or even write a script to
collect a list of all images used and put them in an archive (they
could be located anywhere on the computer). Assuming directory
structure doesn't change, you could then restore all of the files
even if scattered around all over the place.<br>
<br>
<br>
</body>
</html>