HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- RCP Syntax Struggle
Operating System - HP-UX
1830939
Members
2713
Online
110017
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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
12-07-2006 02:54 AM
12-07-2006 02:54 AM
I am trying to copy folders from server to server, both HP-Ux.
Before, I was copying from HP-Ux v10 to 11i v2
using commands like...
rcp -r /u3/WOOD bullwinkle:/u3/
This would copy all of the directories and files in "WOOD" to the bullwinkle box.
Now, going from 11i to v10 using the same command, rcp puts all of the stuff in
/u3/WOOD/WOOD when I really need it in
/u3/WOOD
I have tried it a few different ways without much luck. Suggestions would be appreciated
Before, I was copying from HP-Ux v10 to 11i v2
using commands like...
rcp -r /u3/WOOD bullwinkle:/u3/
This would copy all of the directories and files in "WOOD" to the bullwinkle box.
Now, going from 11i to v10 using the same command, rcp puts all of the stuff in
/u3/WOOD/WOOD when I really need it in
/u3/WOOD
I have tried it a few different ways without much luck. Suggestions would be appreciated
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-07-2006 02:58 AM
12-07-2006 02:58 AM
Solution
Hi Bill:
A recursive 'rcp' assumes that the destination directory does not already exist. Otherwise, you get what you got!
You could create a 'tar' archive (assuming that no largefiles are involved); copy the archive; and untar it too avoid problems like this.
If you have largefiles (or sparse files!) in your directory, use 'fbackup' and 'frecover' to achieve your goal.
Regards!
...JRF...
A recursive 'rcp' assumes that the destination directory does not already exist. Otherwise, you get what you got!
You could create a 'tar' archive (assuming that no largefiles are involved); copy the archive; and untar it too avoid problems like this.
If you have largefiles (or sparse files!) in your directory, use 'fbackup' and 'frecover' to achieve your goal.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-07-2006 03:01 AM
12-07-2006 03:01 AM
Re: RCP Syntax Struggle
Hello,
tried
rcp -r /u3/WOOD/* bullwinkle:/u3/
Jean-Yves
tried
rcp -r /u3/WOOD/* bullwinkle:/u3/
Jean-Yves
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-13-2007 07:13 AM
12-13-2007 07:13 AM
Re: RCP Syntax Struggle
.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP