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
Forums
Discussions
Discussions
Discussions
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
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
07-20-2006 07:22 AM
07-20-2006 07:22 AM
Command
I am trying to move the directories and files from hp-ux 11.0 to hp-ux 11i. What command should i used? I can do rcp for moving files but not for directories via remote.
Please advise,
Adrianne
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2006 07:26 AM
07-20-2006 07:26 AM
Re: Command
Regards,
jaime.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2006 07:30 AM
07-20-2006 07:30 AM
Re: Command
usually rcp -rp will move files and directories, tough what it is really doing is copying them, which is better anyway.
Make sure your system is patched becuase I've seen errors with rcp -rp
scp -rp is better. More reliable and secure
tar copy across and untar is best because it does the best job preserving permissions.
Don't forget to migrate your users if you use /etc/passwd file authentication.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2006 07:31 AM
07-20-2006 07:31 AM
Re: Command
Sincerely,
Adrianne
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2006 07:36 AM
07-20-2006 07:36 AM
Re: Command
something like:
(cd /source; find . -xdev | cpio -o | ssh destination "cd /target && cpio -idumv")
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2006 08:06 AM
07-20-2006 08:06 AM
Re: Command
/>>rcp -rp /procedures hostname: /procedurces
Do I need to mkdir first or i can just move the everything over?
Thanks,
Adrianne
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2006 08:10 AM
07-20-2006 08:10 AM
Re: Command
It's pretty simple using tar and ssh across the two machines.
from source machine:
cd /sourcedir
tar cvf - . | ssh destmachine "cd /destdir; tar xvf - "
If you don't have ssh configured (and you should) you can remsh just as easily as above, just substitute the "ssh" part for "remsh" - works pretty much same way.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2006 08:15 AM
07-20-2006 08:15 AM