LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux 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

Reply
 
Search this Thread
Old 01-24-2009, 06:09 PM   #1
ufmale
Member
 
Registered: Feb 2007
Posts: 385

Rep: Reputation: 30
rsync option in cygwin


I am searching for a argument that tell rsync not to copy the data if only time stamp is different. I tested "rsync -avz", it will copy part of the file if the time stamp is change. (i did that by "touch" cmd).

please help/

Last edited by ufmale; 01-24-2009 at 06:21 PM.
 
Old 01-25-2009, 08:11 AM   #2
maroonbaboon
Senior Member
 
Registered: Aug 2003
Location: Sydney
Distribution: debian
Posts: 1,495

Rep: Reputation: 48
Have you tried the option:

--size-only (skip files that match in size)

which looks like it causes rsync to ignore all time stamps.
 
Old 01-25-2009, 12:06 PM   #3
ufmale
Member
 
Registered: Feb 2007
Posts: 385

Original Poster
Rep: Reputation: 30
yes. That works. Thank you so much.
 
  


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
rsync with -d option tate_harmann Linux - Newbie 2 09-20-2006 01:58 PM
automated backup with cygwin and rsync hoover93 Linux - Networking 1 07-06-2005 08:35 PM
Using rsync with CygWin and W2K spano Linux - Networking 1 03-15-2005 10:58 PM
Windows Rsync Upload to Linux Rsync - permissions inspleak Linux - Software 0 10-12-2004 02:49 PM
Using the exclude option absolutely with rsync karlovac Programming 0 03-01-2004 12:39 PM


All times are GMT -5. The time now is 10:55 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