Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
02-12-2013, 09:10 AM
|
#1
|
|
Member
Registered: Jan 2012
Location: London, England, UK
Distribution: CentOS, Mageia, Debian, Fedora, openSUSE, Ubuntu
Posts: 226
Rep: 
|
Samba share causes Windows Robocopy /mir to keep rewriting the files.
I have a Samba share that I am copying files to with robocopy /mir. Problem is when I try and sync that with robocopy /mir it copies all files again even though they haven't changed.
Robocopy /mir works fine on NTFS to NTFS copies so I guess must be something to do with the use of Samba, I can't see why robocopy should be detecting all these files as changed when they haven't been.
Any ideas?
Thanks, Nick
|
|
|
|
02-12-2013, 02:08 PM
|
#2
|
|
Senior Member
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 1,659
|
It's probably a timestamping problem. NTFS and extx timestamp differently, so robocopy is most likely detecting a difference and flagging the file as changed.
Have you tried the /xo and/or /fft switches?
http://community.spiceworks.com/topi...-changed-files
Last edited by suicidaleggroll; 02-12-2013 at 02:09 PM.
|
|
|
|
02-13-2013, 08:52 AM
|
#3
|
|
Member
Registered: Jan 2012
Location: London, England, UK
Distribution: CentOS, Mageia, Debian, Fedora, openSUSE, Ubuntu
Posts: 226
Original Poster
Rep: 
|
Yep tried that currently using:
Code:
robocopy <source> <destination> /MIR /FFT /DCOPY:DAT /XO
but still detects every file as modified.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 10:30 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|