CPIO - this should be simple - right !

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

 



I'm trying to restore subdirectories with CPIO
I want everything under /cvsroot restored, I'm using

cpio -iuvdB /cvsroot < /dev/nst0

but not luck

I used
cpio -iuvdB /cvsroot/* < /dev/nst0

but just restored files under /cvsroot

What's wrong ?


[root@hostname cvsroot]# ls -al /cvsroot
total 4208
drwxrwxr-t    7 cvs      cvs          4096 Oct  8 18:15 .
drwxr-xr-x   22 root     root         4096 Aug 28 11:48 ..
-rwxr-xr-x    1 cvs      cvs           299 Oct  8 18:15 addcvsuser.sh
-rw-------    1 cvs      cvs           547 Oct  8 15:46 .bash_history
-rw-r--r--    1 cvs      cvs            24 Mar 12  2003 .bash_logout
-rw-r--r--    1 cvs      cvs           191 Mar 12  2003 .bash_profile
-rw-r--r--    1 cvs      cvs           124 Mar 12  2003 .bashrc
-rw-r--r--    1 root     root      4239360 Oct  8 17:51 cvsbackup.tar
drwxrwxr-x    3 cvs      cvs          4096 Aug 19 15:30 CVSROOT
drwxrwxr-x    4 cvs      cvs          4096 Oct  8 15:36 DADS
drwxrwxr-x    5 cvs      cvs          4096 Oct  8 15:38 DASD
drwxrwxr-x    4 cvs      cvs          4096 Oct  8 15:41 DSST
-rw-r--r--    1 cvs      cvs           854 Mar 12  2003 .emacs
-rw-r--r--    1 cvs      cvs           120 Mar 12  2003 .gtkrc
drwxrwxr-x    3 cvs      cvs          4096 Oct  8 15:44 HSD
-rwx------    1 cvs      cvs            24 Mar 13  2003 .rhosts
-rw-------    1 cvs      cvs          2767 Apr 16 08:51 .viminfo


-- 


-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux