February 4, 201610 yr rsync -r -v --progress --delete -s /home/UbuntuUserName/tower/cjk1/ /home/UbuntuUserName/tower2/cjk1 Good day unraiders rsync between tower1 and tower2 with the -t option throws errors: cannot transfer time This means by excluding -t I have the original modified timestamp on tower1 and a timestamp matching the time of rsync on tower2 When my FolderMatch Content compare runs, it then provides me with a deluge of older/newer file flags. Does anyone know how to preserve the created on/modified timestamp in rsync? Tower1 is a mounted smb share in linux vm Tower2 is a mounted/passed through share in the linux vm
February 4, 201610 yr rsync -r -v --progress --delete -s /home/UbuntuUserName/tower/cjk1/ /home/UbuntuUserName/tower2/cjk1 Good day unraiders rsync between tower1 and tower2 with the -t option throws errors: cannot transfer time This means by excluding -t I have the original modified timestamp on tower1 and a timestamp matching the time of rsync on tower2 When my FolderMatch Content compare runs, it then provides me with a deluge of older/newer file flags. Does anyone know how to preserve the created on/modified timestamp in rsync? Tower1 is a mounted smb share in linux vm Tower2 is a mounted/passed through share in the linux vm I think this a permissions issue. Consider using "[email protected]:/home/etc..." for the mount point you want to copy to... Edit: Another thought perhaps give it super user permissions by putting sudo before your rsync call.
February 4, 201610 yr Author Thanks Gundamguy I want to copy TO a folder that is passed to the VM as Read/Write. This folder has no SMB shares.... the file itself copies fine (just refuses to pass the timestamp with)
February 4, 201610 yr Thanks Gundamguy I want to copy TO a folder that is passed to the VM as Read/Write. This folder has no SMB shares.... the file itself copies fine (just refuses to pass the timestamp with) Yeah, I think the catch that is causing the problem is that they are on two different systems (VMs) so you have to have the right user permissions to set times. (That's what a little bit of reading on this error seems to suggest is the problem.) So what I suggest is using the ssh rsync form and specify the user@ipaddress:/directorypath/ form to have the right permissions. The rsync manpage might be able to help you if you have more questions. (Also is there a reason why you aren't using the -a (archive) flag.
February 4, 201610 yr Author Thanks! (Also is there a reason why you aren't using the -a (archive) flag.) Ignorance
Archived
This topic is now archived and is closed to further replies.