[thelist] Tar and maintaining permissions....

Anthony Baratta Anthony at Baratta.com
Fri Dec 22 15:54:34 CST 2000


Howdy...

I'm trying to move a large (couple of Gigs) set of files and directories to 
a new hard drive on my linux box and I'm having problems maintaining 
permissions during the move. Can I get another set of eyeballs on my tar 
command and maybe tell me what I'm doing wrong?

	tar cpf - *|(cd /new/dir;tar xvpf -)

I'm launching the above command while root, from the olde base directory. 
/new/dir is the new base directory.

Thanks in advance.
---
Anthony Baratta
President
Keyboard Jockeys





More information about the thelist mailing list