How can I read a cpio archive with absolute pathnames?

itkin at cup.portal.com itkin at cup.portal.com
Mon May 9 06:43:29 AEST 1988


>In article <434 at vsi.UUCP> friedl at vsi.UUCP (Stephen J. Friedl) writes:
>>In article <4019 at cup.portal.com>, itkin at cup.portal.com writes:
>>> In article <407 at vsi.UUCP>, I lament:
>>> > Customers are always dumping cpio archives to floppy with
>>> >
>>> >	find / -print | cpio ...
>>> >
>>> >and it drives us crazy when we need to restore something and they
>
>There is a comp.sources program called fixcpio that fixes damaged cpio 
>archives (it's great for skipping over that one bad spot in a set of 
>floppy backups).  It could be easily modified to remove a leading / 
>from files names.  
>-- 
>Jon Zeeff           		Branch Technology,

How about keeping it simple?  Use 'chroot' to specify a new root directory
relative to something you like and then move/rename the file once it's there.



More information about the Comp.unix.questions mailing list