[thelist] Tar and maintaining permissions....

Anthony Baratta Anthony at Baratta.com
Tue Dec 26 23:58:34 CST 2000


I know there are some linux heads here who can set me straight. I guess its 
not good to cry for help the day before a long holiday weekend. ;-)

At 11:54 AM 12/22/2000 -0800, Anthony Baratta wrote:
>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. The files copy, but without the proper 
>permissions.
>
>Thanks in advance.

---
Anthony Baratta
President
Keyboard Jockeys





More information about the thelist mailing list