Avian Gamers Network

Forum
It is currently Thu May 01, 2025 5:29 pm

All times are UTC - 5 hours [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: linux command questions
PostPosted: Mon Jun 04, 2007 4:22 pm 
Offline
Site Admin
User avatar

Joined: Mon Jul 01, 2002 4:33 am
Posts: 6698
Location: Silver Spring, MD
I'm breaking down this rsync command and need to modify it
Code:
rsync -az remotesite.us::remotesite/folder/sub/sub2 .


Right now i use this command but it downloads all files to my root.
I need this rsync to go to root/www/mysite/ how would I alter this command to do that?

_________________
Moge


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jun 04, 2007 6:03 pm 
Offline
Site Admin
User avatar

Joined: Wed Aug 08, 2001 8:01 pm
Posts: 5315
Location: Dublin
From looking at the manpage...

Code:
rsync -az remotesite.us::remotesite/folder/sub/sub2 /root/www/mysite


...maybe!
Or otherwise make sure you are in the right directory on the local machine when running the command?
I assume that's just a backup on the local machine with it sitting in /root?


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jun 04, 2007 10:04 pm 
Offline
Site Admin
User avatar

Joined: Mon Jul 01, 2002 4:33 am
Posts: 6698
Location: Silver Spring, MD
using SSH to nav to the current directory worked. Currently I'm dloading all files to my local then uploading changed files to the server. Once I get my cron sorted out this will happen on directly to the server.

BTW. This is third party XML data that is updated daily.

_________________
Moge


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group