- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Copy files with passing through the sym link
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
11-03-2006 10:18 AM
11-03-2006 10:18 AM
I want to copy files from one server to another using rcp or any other commands... In the directories I try to copy I have sym link, and with the rcp command, the copy on the second box is receiving the data from the link... I don't want that! how can I do it?
Regards
Jonathan
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2006 10:27 AM
11-03-2006 10:27 AM
Re: Copy files with passing through the sym link
Use 'fbackup' and 'frecover'. By default, 'fbackup' backs up a symbolc link, not the object to which it points.
See the manpages for each command for more information.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2006 10:37 AM
11-03-2006 10:37 AM
Re: Copy files with passing through the sym link
How can I do it if I don't have access to a tape drive???
Jonathan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2006 10:46 AM
11-03-2006 10:46 AM
Re: Copy files with passing through the sym link
OK, use 'tar' to collect all of your files into a tarball; copy ('ftp', 'rcp', etc) the tarball to your target server and un-tar it.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2006 10:46 AM
11-03-2006 10:46 AM
Re: Copy files with passing through the sym link
Yang
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2006 10:58 AM
11-03-2006 10:58 AM
Re: Copy files with passing through the sym link
JRF, sorry I mistyped your name previously!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2006 11:05 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2006 11:08 AM
11-03-2006 11:08 AM
Re: Copy files with passing through the sym link
OK; one-line:
# cd /source_path;tar -cf - .|remsh target_host "cd /destination_path && tar -xf -"
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2006 11:24 AM
11-03-2006 11:24 AM
Re: Copy files with passing through the sym link
The both way works fine, but I prefer the one shot as JRF proposed...
As always you guys are fast to answer!!
Regards
Jonathan