- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: why does this cammand not work (part 2)
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-10-2004 01:37 AM
тАО03-10-2004 01:37 AM
rcp -r -p ngbva:/oracle /
It works, I can copy a directory from one HPUX server to another. The problem now is that it keeps the permissions but changes the user:group on all files moved to root:sys. I have the same user name-userid and goup name-groupid on both systems. any ideas??
thanks in advance.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-10-2004 01:44 AM
тАО03-10-2004 01:44 AM
Re: why does this cammand not work (part 2)
It keeps the all permissions.
0 points please
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-10-2004 01:45 AM
тАО03-10-2004 01:45 AM
SolutionI don't think this can be done with 'rcp'.
Use tar:
cd dest;
remsh nbgva 'cd /source;tar cf - .' | tar xf -
You can compress the stream, if networking is an issue:
remsh nbgva 'cd /source;tar cf - . | gzip' | gunzip | tar xf -
You may have to use the full path of gzip (or other compressing program).
mfG Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-10-2004 01:47 AM
тАО03-10-2004 01:47 AM
Re: why does this cammand not work (part 2)
Anil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-10-2004 01:53 AM
тАО03-10-2004 01:53 AM
Re: why does this cammand not work (part 2)
the command: find /source | cpio -ov | remsh server " cd /copy ; cpio -idvum "
looks like it is pushing the files. do to the nature of the server I can not push files, only pull them. can this be modified to pull??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-10-2004 02:03 AM
тАО03-10-2004 02:03 AM
Re: why does this cammand not work (part 2)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-10-2004 02:05 AM
тАО03-10-2004 02:05 AM