[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-cpio] Re: Destination directory patch
From: |
Sergey Poznyakoff |
Subject: |
Re: [Bug-cpio] Re: Destination directory patch |
Date: |
Fri, 23 Jul 2010 23:23:23 +0300 |
P J P <address@hidden> ha escrit:
> It is intended that `change_directory_option' and `directory_name'
> have different values?
Yes, of course. They *must* have different values, otherwise -D
is of no use. Looks like you did not understand its semantics.
The change_directory_option supplies *source directory* and the
directory_name gives *destination directory*. As an example, consider
this:
cpio -D /usr -p /usr/local < filelist
(it is supposed that filelist contains names relative to /usr, of
course).
Regards,
Sergey
Re: [Bug-cpio] Re: Destination directory patch, Sergey Poznyakoff, 2010/07/23