- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: copy and links
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
10-08-2004 05:10 AM
10-08-2004 05:10 AM
I am trying to copy several file systems from a server to another and I have some problems with symbolic links.
I am using the next sentence:
on the original server:
cd /original directory
find . | cpio -o | remsh final_server "cd /final_directory ; cat| cpio -pidlmuv"
With this sentence I´ve found that the dates are new on all symbolic links into the final server but also the targets of this symbolic links have changed their dates.
Does someone know how I can preserve all dates?
Thanks a lot,
Mayc
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-08-2004 06:09 AM
10-08-2004 06:09 AM
Re: copy and links
Anil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-08-2004 06:14 AM
10-08-2004 06:14 AM
Re: copy and links
The -a option is to reset the times.
Try adding the -m option to your cpio -o
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-08-2004 01:18 PM
10-08-2004 01:18 PM
Re: copy and links
I preserve all data modifications of all files and directories but not of symbolic links.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-09-2004 10:16 AM
10-09-2004 10:16 AM
Solutionit is not possible to set/restore the timestamp of a symbolic link.
Read my thread about the same question:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=623257
I'm sorry.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-10-2004 06:39 PM
10-10-2004 06:39 PM
Re: copy and links
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-10-2004 07:57 PM
10-10-2004 07:57 PM
Re: copy and links
thank you for taking the time to rate the postings. Please be considerate however and do only assign 0 points if the posting is off topic. Assigning 0 points for a posting where the author honestly tried to help you even if the posting does not contain the solution is insulting in my view.
thanks for considering that,
Michael
http://forums1.itrc.hp.com/service/forums/helptips.do?#28