The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Operating Systems > Linux > Debian
.
google unix.com



Debian Debian GNU/Linux is a free distribution of the GNU/Linux operating system.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Preserving whitespace in a for loop s_becker Shell Programming and Scripting 7 03-26-2009 03:09 PM
Add HDs while preserving the data mhenry SCO 3 10-13-2008 05:20 AM
properties for vi shriashishpatil UNIX for Dummies Questions & Answers 2 04-20-2007 01:27 PM
Preserving Ownership w/tar bergerj3 Filesystems, Disks and Memory 1 02-05-2002 11:53 PM

Reply
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 08-05-2009
PasadenaDave PasadenaDave is offline
Registered User
  
 

Join Date: Aug 2009
Posts: 4
scp not preserving properties and links

I'm trying to get a number of old disks on HP-UX 10.2 copied over to a new Debian machine which has a NAS on it.

The HP does not have rsync, but does have scp. Scp unfortunately does not always preserve permissions, and does not save links which were on the disk.

Apparently rsync has a flag for saving links as is.. Does anybody know if there is any flag for scp to do that (Not in the man pages..)

Otherwise, has anybody here used rsync on HP-UX 10.2 ? Any problems with it?

Thanks in advance!!
  #2 (permalink)  
Old 08-06-2009
Corona688 Corona688 is offline
Registered User
  
 

Join Date: Aug 2005
Location: Saskatchewan
Posts: 1,929
You could put them in a tarball, that would preserve links and such better.
  #3 (permalink)  
Old 08-06-2009
PasadenaDave PasadenaDave is offline
Registered User
  
 

Join Date: Aug 2009
Posts: 4
Absolutely, but no space on the source machine to do that. They're OLD and FULL.

Thanks!
  #4 (permalink)  
Old 08-06-2009
pludi's Avatar
pludi pludi is offline Forum Staff  
Moderator
  
 

Join Date: Dec 2008
Location: .at
Posts: 1,839
Code:
tar -cf - /path/to/source | ssh root@debian 'cd /path/to/target; tar -xf -'
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 05:01 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0