LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux > Linux - Newbie
User Name
Password
Linux - Newbie This forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Tags used in this thread
Popular LQ Tags , , , ,

Reply
 
Thread Tools
Old 08-04-2009, 02:44 AM   #1
bobby953
LQ Newbie
 
Registered: Mar 2009
Posts: 8
Thanked: 0
Smile rsync (cygwin on XP) - -delete flag not working.


[Log in to get rid of this advertisement]
Hi all
I installed cygwin with rsync on a Win XP Machine. My goal is to backup a folder from one hard drive to another (both on XP machine).

I run the following command from a batch file:

C:\cygwin\bin\rsync.exe -avvz --delete --stats --progress "/cygdrive/e/my_music/" "/cygdrive/g/my_music" > music.log

Works fine except the --delete flag is not working. Copies everything in source to destination, but doesn't delete some extra files that are present on the destination, but aren't on the source, which it's supposed to. I looked at the rsync man page, and I'm doing everything right... such as not using wildcard.

If anyone knows what is going on, please let me know. All your help is appreciated in advance. Thanks.

NOTE: the same command works perfect on another computer (XP machine; source and dest both on XP machine).
bobby953 is offline  
Tag This Post , , , ,
Reply With Quote
Old 08-05-2009, 11:13 AM   #2
Meson
Member
 
Registered: Oct 2007
Distribution: Archlinux
Posts: 279
Thanked: 8
Is it throwing any errors? You may want to add -i to that to itemize output (I'm not sure if -vv implies it or not). Also, to avoid breaking anything, add -n until you're sure everything is working correctly.

One thing I could think of is to check your ACLs on the destination machine/drive
Meson is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

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
Questions about rsync and '--link-dest' flag donnaaparis Linux - General 0 06-11-2009 01:44 PM
rsync option in cygwin ufmale Linux - Newbie 2 01-25-2009 01:06 PM
rsync doesn't seem to delete cooks44 Linux - Software 10 11-22-2007 12:57 AM
automated backup with cygwin and rsync hoover93 Linux - Networking 1 07-06-2005 09:35 PM
Using rsync with CygWin and W2K spano Linux - Networking 1 03-15-2005 11:58 PM


All times are GMT -5. The time now is 05:57 AM.

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
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration