- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- copy /sbin/init.d and link files
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
12-12-2006 07:01 AM
12-12-2006 07:01 AM
copy /sbin/init.d and link files
I have to copy the following files from one machine to another, the other machines do not have these files
what would be the best way to copy them so that i get the exact links?
root#/sbin/init.d>
-rwxr-xr-x 1 root sys 3301 Jul 23 2003 dmq.rc
-rwxrwxr-x 1 root sys 3274 Dec 19 2002 listener.rc
-rwxr-xr-x 1 root sys 3324 Nov 8 2000 oracle.rc
root#/sbin/rc3.d>
lrwxr-xr-x 1 root sys 22 Nov 8 2000 S350oracle -> /sbin/init.d/oracle.rc
lrwxr-xr-x 1 root sys 19 Nov 8 2000 S370dmq -> /sbin/init.d/dmq.rc
lrwxr-xr-x 1 root sys 23 Nov 8 2000 S360sector7 -> /sbin/init.d/sector7.rc
root#/sbin/rc2.d>
lrwxr-xr-x 1 root sys 19 Nov 8 2000 K350dmq -> /sbin/init.d/dmq.rc
lrwxr-xr-x 1 root sys 23 Nov 8 2000 K360sector7 -> /sbin/init.d/sector7.rc
lrwxr-xr-x 1 root sys 22 Nov 8 2000 K370oracle -> /sbin/init.d/oracle.rc
Please help
Thanks
Brian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2006 07:15 AM
12-12-2006 07:15 AM
Re: copy /sbin/init.d and link files
Since only very few files, do `rcp` and link the files one by one
Cheers
DK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2006 07:25 AM
12-12-2006 07:25 AM
Re: copy /sbin/init.d and link files
You have to re-create the softlinks yourself.
ln -s
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
12-12-2006 07:45 AM
12-12-2006 07:45 AM
Re: copy /sbin/init.d and link files
You can use 'tar'. By default, 'tar' preserves symbolic links.
Create a 'tar' archive of what you need; copy the tarball to your otherserver; and un-tar it.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2006 09:35 AM
12-12-2006 09:35 AM
Re: copy /sbin/init.d and link files
I would use James suggestion. I would use the tar command to create a tar and copy to the other server and untar it.
sp,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2006 09:43 AM
12-12-2006 09:43 AM
Re: copy /sbin/init.d and link files
regards,
ivan