[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Requirements for 1.1

Raul Miller writes ("Re: Requirements for 1.1"):
> With tar, you can add to an existing archive.  For example, 
> debian.tar:
> 	cd debian-tmp1; tar cf ../debian.tar .
> 	cd debian-tmp2; tar uf ../debian.tar .
> I presume the duplicate [directory] entries shouldn't be a problem... 

That seems like a bad idea, mainly because of those duplicate
directory entries.  cpio can produce tarfiles, and can be told exactly
which files to dump.

 ((cd debian-tmp1 && find .);
  (cd debian-tmp2 && find *)) | cpio -Hustar ...


Reply to: