Solved

Move Files Without Changing Property Dates

Posted on 2007-04-06
2
661 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
Comment Utility
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
Comment Utility
hi

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

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

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é.
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 several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

762 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now