Re: [dev] wrap: minimalist archiving tool

From: Szabolcs Nagy <nsz_AT_port70.net>
Date: Mon, 9 Aug 2010 09:18:49 +0200

* David Tweed <david.tweed_AT_gmail.com> [2010-08-09 04:54:25 +0100]:
> The one thing that leaps out at me is that there's no checksumming of

to some extent this can be worked around
find dir -type f | xargs sha1sum >dir.sum
find dir -type f | xargs wrap c dir.sum >dirwithsum.a

or even
sha1sum dir.a >dir.a.sum

but yes, depending on the application one might need more builtins
(even for source code it might be useful to have executable flags,
creation time or symlinks)
(also it is not checked if a path is truncated or if the same path
name appears multiple times)
(when used for moving files between platforms warnings about path
name issues might be useful)
Received on Mon Aug 09 2010 - 09:18:49 CEST

This archive was generated by hypermail 2.2.0 : Mon Aug 09 2010 - 09:24:02 CEST