LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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, 07: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 07:21 PM.
 
Old 01-25-2009, 09: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, 01: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 02:58 PM
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
Windows Rsync Upload to Linux Rsync - permissions inspleak Linux - Software 0 10-12-2004 03:49 PM
Using the exclude option absolutely with rsync karlovac Programming 0 03-01-2004 01:39 PM


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