The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

tar instructions

Discussion in 'General Discussion' started by phantom, Dec 22, 2003.

  1. phantom

    phantom Well-Known Member

    Joined:
    Sep 17, 2002
    Messages:
    123
    Likes Received:
    0
    Trophy Points:
    16
    Hi,
    I have a script installed on an account that I'm moving to another server. However, it is a script in which part of it is installed at /usr/local/
    and /home/vhosts/

    My question is, what would be the correct way of tarring up the folders and subfolders and being able to keep the permissions intact?

    Also, I'm just going to use wget to copy the m over to the new server. What would be the correct way to untar the files? Also, what directory should I be in when I do this?

    Thanks!!
     
  2. haze

    haze Well-Known Member

    Joined:
    Dec 21, 2001
    Messages:
    1,550
    Likes Received:
    3
    Trophy Points:
    38
    man tar
     
Loading...

Share This Page