scp data while preserving file modification times?



I need to back up a large amount of data on a remote server to a local
machine. I can copy the data to my local machine using scp -r. The
problem is that the files created on the local machine all have the
current date and time, rather than their actual modification time. I
*could* tar everything up on the remote side and just download the tar
file, but the remote machine is shared, and I don't want to hose the
machine.

Is there a way to do this?

Thanks!

.



Relevant Pages

  • Re: Creating remote objects
    ... >> This creates an instance of Word on the local machine from Excel 2000, ... I don't have a remote server to go against. ... >> (ByVal lpszIID As String, ByVal piid As Long) As Long ... >> Dim rclsid As GUID ...
    (microsoft.public.excel.programming)
  • remote file copy using Net::Telnet
    ... " copies file from the local machine to the remote machine " ... print("Your programme will be terminated\n"); ... # fetching file from remote host to local machine ...
    (comp.lang.perl.modules)
  • Re: Configuring networked printer
    ... OK - have fixed the old issue re: the OOo configuration printing - ... just required me to stop and restart the print server:) ... in the CUPS web interface on the "remote" machine (the machine ... On your local machine, you need to have the check box named "Show ...
    (Debian-User)
  • Re: Configuring networked printer
    ... setup you local machine to use the printer on he remote machine. ... I have now set the "share" advertising checkbox as you suggested, ... On your local machine, you need to have the check box named "Show ... I have done this on Box B and get the following when the server ...
    (Debian-User)
  • Re: Trouble with importing an existing web site.
    ... FrontPage Resources, WebCircle, MS KB Quick Links, etc. ... > remote site via FTP, then publishing the remote copy to the local machine. ...
    (microsoft.public.frontpage.client)