[nmglug] tar question,

Andres Paglayan andres at paglayan.com
Thu Sep 23 08:02:14 PDT 2004


man tar says that the -u option will replace/overwrite modified files
within the tar file,

suppose that i have two files, file1 and file2 under files/

what's happening here is the following

$ tar uf example.tar files
$ tar tf example.tar
files/
files/file1
files/file2
$ touch files/file1
$ touch files/file2
$ tar uf example.tar files
$ tar tf example.tar
files/
files/file1
files/file2
files/file1
files/file2

and example.tar is doubling its size, it looks more like it's appending
rather than updating,
any ideas?
??



-- 
Andres Paglayan
andres at paglayan.com
Ph: (505) 986-1561
Santa Fe, NM USA

Open Source is like Love. The more you share it the better it gets.






More information about the nmglug mailing list