Solved

Move Files Without Changing Property Dates

Posted on 2007-04-06
2
666 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

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

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

Suggested Solutions

1. Introduction As many people are interested in Linux but not as many are interested or knowledgeable (enough) to install Linux on their system, here is a safe way to try out Linux on your existing (Windows) system. The idea is that you insta…
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
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…

733 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