LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 01-04-2005, 10:16 PM   #1
jgolden
LQ Newbie
 
Registered: Jan 2005
Posts: 3

Rep: Reputation: 0
rsync 2.6.3 v. 28 win32 & linux


I have recently installed rsync on my XP box and Redhat box. Connectivity works and files transfer down to the Linux box. My problem is when I delete a file in the sync folder on my XP box, it does not delete it on ny Linux box.

Here is my command from the XP box.

rsync --delete --verbose --progress --stats --times -e "ssh.exe -i cwrsync" -az /cygdrive/c/ghost/* domainname.com:backup

Here is my rsyncd.conf file on the Linux box.

motd file = /etc/rsyncd.motd
log file = /var/log/rsyncd.log
pid file = /var/run/rsyncd.pid
lock file = /var/run/rsync.lock
hosts allow = x.x.x.x
#strict modes = true

[home]
path = /backup
comment = /home/jgolden backup folder
read only = false
transfer logging = true
log file = /home/jgolden/backup/backup.log


Any help would be greatly appreciated.

Thank you,

Joel Golden
 
Old 01-05-2005, 02:51 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 64
Try running the same command but add "-vv" as well, this will give you more verbose debugging messages that may show a problem.
 
Old 01-05-2005, 02:56 PM   #3
jgolden
LQ Newbie
 
Registered: Jan 2005
Posts: 3

Original Poster
Rep: Reputation: 0
Fix

rsync --delete --verbose --progress --stats --times -e "ssh.exe -i cwrsync" -az /cygdrive/c/ghost/* domainname.com:backup

The problem here is the wildcard in /cygdrive/c/ghost/*

Remove the * and rock-n-roll.

Joel
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Porting Win32 API && PIC programing bobbens Programming 2 02-11-2005 07:14 AM
Windows Rsync Upload to Linux Rsync - permissions inspleak Linux - Software 0 10-12-2004 02:49 PM
suse 9.0 & x-win32 problem petros Linux - Newbie 4 06-23-2004 07:00 AM
suse 9.0 & x-win32 problem petros Linux - Networking 1 06-22-2004 01:05 PM
Redhat 7.2 & X-Win32 - Xwindows wildsider Linux - Networking 0 11-25-2001 07:51 PM


All times are GMT -5. The time now is 09:07 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration