LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Force samba client to enforce dos time stamps (https://www.linuxquestions.org/questions/linux-networking-3/force-samba-client-to-enforce-dos-time-stamps-284129/)

tisource 01-30-2005 12:56 PM

Force samba client to enforce dos time stamps
 
This question may have been answered before, but I can't see to find any info about it. I can find info about the server component of samba, but not the client.

I have a laptop running Fedora Core 3. From konqueror, I am copying photos from a Windows XP computer to a dos partition (for multiboot access). Timestamps on the photos must be preserved. Linux, however, is putting the date of the copy on the photos and ignoring the original date and time.

So far, I've had to boot into windows to do the copy... is there a way to force the samba client to preserve the dos time stamps? If not... I will have to continue to do it from windows (and who wants to do that??)

Any advice would be appreciated...

Sutekh 01-30-2005 04:36 PM

it may be easier to mount the partition locally and copy with normal *nix tools (or rsync or whatever). This will preserve your timestamps as far as i know (i don't have a fat32 partition to test this on but i think it should work ok).

Let us know how you go

tisource 02-06-2005 01:05 PM

Just an update....

rsync -rt /src /dest

does the trick.

Thanks


All times are GMT -5. The time now is 11:23 AM.