Solved

Move Files Without Changing Property Dates

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

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

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

This article will explain how to establish a SSH connection to Ubuntu through the firewall and using a different port other then 22. I have set up a Ubuntu virtual machine in Virtualbox and I am running a Windows 7 workstation. From the Ubuntu vi…
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
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.:

840 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