[vox-tech] Copying data from Windows share to Linux server *with*
original date stamps and permissions
Bryan Richter
bryan.richter at gmail.com
Fri Oct 19 12:16:20 PDT 2007
On Fri, Oct 19, 2007 at 11:19:47AM -0700, Richard Burkhart wrote:
> Anyone have suggestions on a set of shell commands I can pipe together to:
> - Batch transfer multiple files & directories from a windows (server
> 2000) machine onto a Linux machine
> - Maintain as many of the original file permissions as will make it
> across the samba link
> - Maintain the original file save dates from the windows side (the
> first time I did a mass cp, it changed all the target-file dates to the
> day of the copy)
> - Set the archive bit on the source media, so that if I have to do
> this again to catch updates I can just grab updated files.
>
I think rsync is perfect for this, although I don't have experience using it
with Windows. I see that there is a Windows client, at least. :)
-Bryan
More information about the vox-tech
mailing list