• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 670
  • Last Modified:

Move Files Without Changing Property Dates

I need to move our data files from our old SuSe Linux server to our new Xandros server without changing any of the files dates, especially the modified date. Does anyone know how to easily do this?
0
dakotas94
Asked:
dakotas94
1 Solution
 
KoorooCommented:
rsync will do it. Specifically, you want to pass it the -t or the -a.

so it'd look something like

rsync -var --rsh="ssh" <src> user@newbox:<dst path>

check the man page for more info.
0
 
omarfaridCommented:
hi

try to tar your file to a file
copy the tar file to the remote server
untar the file
0

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now