Solved

Move Files Without Changing Property Dates

Posted on 2007-04-06
2
667 Views
Last Modified: 2013-12-05
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
Comment
Question by:dakotas94
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 4

Accepted Solution

by:
Kooroo earned 250 total points
ID: 18868746
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
 
LVL 40

Expert Comment

by:omarfarid
ID: 19066226
hi

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

Featured Post

Stressed Out?

Watch some penguins on the livecam!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The purpose of this article is to show how we can create Linux Mint virtual machine using Oracle Virtual Box. To install Linux Mint we have to download the ISO file from its website i.e. http://www.linuxmint.com. Once you open the link you will see …
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

724 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question