PDA

View Full Version : Server has me stumped


guitar riff
2004-02-13, 07:48 PM
Ok Im Stumped anyone know how to fix this

Ok here is my problem im in the process of moving servers

Only prob I have is like this im transferring file tarring zipping and using wget

I tar it like so
tar -cvf - domain.com | gzip > domain.com.tar.gz

Thats not a prob works good

Ok my prob is when i created domains on my new server it makes the folders like so /home/username but i need it to be like so home/domain/ So i ned to know if there is a way to unzip and untar a file into a certain dir

Here is the command i use now but
gunzip -c domainname.tar | tar -xvf -

Any help is surely appreciated

guitar riff
2004-02-13, 08:09 PM
Problem solved damn im a dumb ass |banghead|