jmichaelh / xar

Automatically exported from code.google.com/p/xar
0 stars 0 forks source link

(Feature Request) Add option to delete files after archival #26

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I would like to see an option implemented, to allow for deletion of a 
(group of) file(s), after archival, in order to reclaim the disk space 
that was previously used by them.

Original issue reported on code.google.com by tyson....@gmail.com on 10 Jul 2007 at 1:31

GoogleCodeExporter commented 8 years ago
I don't think it would be a good idea to have xar implement this feature.  Due 
to the
way xar archives, it would only be safe to delete existing files after the 
archive is
closed with xar_close(), which is when xar(1) exits.  It would be simple enough 
to do
the same thing with a shell script, and presumably much safer since you could 
verify
the archive was created successfully.

Original comment by bbraun on 24 Jul 2007 at 1:25