![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| HP-UX HP-UX (Hewlett Packard UniX) is Hewlett-Packard's proprietary implementation of the Unix operating system, based on System V. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| scp not preserving properties and links | PasadenaDave | Debian | 3 | 08-06-2009 02:38 AM |
| 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 |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
SCP not preserving properties, no rsync ?
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!! ---------- Post updated at 09:20 PM ---------- Previous update was at 08:05 PM ---------- PS: scp -rp is what I've tried.. Does not always save permissions, ownership or group.. Anybody have experience with rsync on HP-UX ? Tia! |
|
||||
|
The group and user numbers on the source have to exist on the destination side.
ie., username joe 1142:206 has to exist on the other side for scp -p to work fully. scp -p will keep the existing mode bits straight regardless. rsync at the porting centre: Porting And Archive Centre For HP-UX ---------- Post updated at 04:49 ---------- Previous update was at 04:39 ---------- Consider reading the ftp RFP's - 421 means the server on the remote side closed the connection. This doesn't happen by accident. There is always a reason. The most usual reason is a timeout limit on connections imposed on the remote side. try something like this: Code:
>ftplog for file in myfiles* do ftp -n <<EOF >> ftplog OPEN somenode USER username pswd cd /somewhere put $file bye EOF done |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|