UNIX cpio problem# Unix - 噫吁兮,危乎高哉
w*a
1 楼
ls dir
dir1/
cd ./dir/dir1
find . -print | cpio -dpl ../dir2
The error is displayed as below. I already used -d option, which will create
directory as necessary.
cpio: Error during access() of "../dir2", errno 2, No such file or directory
USAGE:
cpio -i[[email protected]] [-C size] [-E file] [-H hdr] [-I file [-M msg]] [-R
id] [patterns]
cpio -o[[email protected]] [-C size] [-H hdr] [-O file [-M msg]]
cpio -p[[email protected]] [-R id] directory
dir1/
cd ./dir/dir1
find . -print | cpio -dpl ../dir2
The error is displayed as below. I already used -d option, which will create
directory as necessary.
cpio: Error during access() of "../dir2", errno 2, No such file or directory
USAGE:
cpio -i[[email protected]] [-C size] [-E file] [-H hdr] [-I file [-M msg]] [-R
id] [patterns]
cpio -o[[email protected]] [-C size] [-H hdr] [-O file [-M msg]]
cpio -p[[email protected]] [-R id] directory