Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Problems using RCP with symlinks. Trying to use CPIO instead Post 302389055 by mojoman on Friday 22nd of January 2010 12:02:42 PM
Old 01-22-2010
Problems using RCP with symlinks. Trying to use CPIO instead

Hello,

I have inherited an old Solaris box and I have to copy all of its files onto another machine, a Centos Box. The Solaris box it so ancient is does not have rsync, scp or any other useful copy functions. I tried using RCP but it handles symlinks terribly: Extraneous data is written to my Cenots box prematurely filling it up. I am left with no free space on the hard drive to copy over the other required data from the Solaris box.

I have read that using cpio inconjunction with rsh will make for a smoother transfer. I am reading the manpages but need some help written the appropriate command. Can someone tell me the syntax for using cpio with rsh to transfer data over from one hard drive to another over a network please?

Thanks!
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

rcp problems

I am having problems with rcp on one particular machine that I have at work. I can rcp from any host to any other host except this one box. I get the following error message. rcp daily_maint remote1:/root/daily_maint remshd: Password for... (4 Replies)
Discussion started by: Kelam_Magnus
4 Replies

2. UNIX for Advanced & Expert Users

search and replace symlinks

Hello All, Assuming i have a thousand symlinks under directory /mydir (and its sub-dir) such as: mysymlink1 -> ../../../myfoo/mysymlink1 mysymlink2 -> ../../../myfoo/mysymlink2 How can I search the string "myfoo" and replaced with "yourfoo" such that after the operation is complete the... (2 Replies)
Discussion started by: nixrock
2 Replies

3. Shell Programming and Scripting

Nested Symlinks?

Please don't laugh or call me a fool... I'm trying to set up a script that will go through my Music File directory and generate a set of symbolic links in a directory called "What's New". Within that directory there will be a "30 Days", "3 Months", "6 Months" and "A Year" directories. Within... (0 Replies)
Discussion started by: deckard
0 Replies

4. UNIX for Dummies Questions & Answers

RCP problems

Hi! Daily, one of our RedHat Enterprise servers tries to get some files from other RedHat Enterprise server through rcp. Strangely, only the smallest files (about 80K) are transferred, the larger ones (about 40Mb) are not. The rcp doesn't issue any error message, only keeps waiting and waiting... (0 Replies)
Discussion started by: Daishi
0 Replies

5. UNIX for Dummies Questions & Answers

Symlinks

Given a filename, is it possible to know haow many symbolic links are pointing to it? How can I tell? (1 Reply)
Discussion started by: ct1977
1 Replies

6. Shell Programming and Scripting

Following Symlinks to Actual Script

I need to have my script know what directory it's in, even if it's run from a symlink located elsewhere. Here's what I've come up with, for the benefit of anyone with a similar need, but I'm also interested to know if there's a more elegant solution. I'd rather not get into awk-land, but I couldn't... (2 Replies)
Discussion started by: jeffclough
2 Replies

7. Slackware

Context dependent symlinks

Ive got multiple PCs, sharing an NFS mounted home dir. For certain apps I would like to keep the config files host specific. Easy solution is to create symlinks to local folders for configs. Ideally I would still want the .config files to reside in the user home folder. Is it possible to... (2 Replies)
Discussion started by: agentrnge
2 Replies

8. Shell Programming and Scripting

Look for, backup and delete symlinks

Hi, My first post here: Was looking if someone can help enhancing my code. I am limited to sh or ash shell (android / busybox) I made a script to look for busybox symlinks, backup them and delete them I have these questions about the below code: - busybox tar do not has the options... (2 Replies)
Discussion started by: Phil3759
2 Replies

9. Red Hat

Problems with rcp command

I have two servers A and B; A has redhat 5 and B has Suse10. Both of them has rhost file configuration. When i try to copy file from A to B that is OK but when try to copy from B to A i have an error: connection refused. I installed rsh and rsh-server on server A and stop iptables service. I need... (2 Replies)
Discussion started by: robinsonusp2014
2 Replies

10. UNIX for Advanced & Expert Users

Cpio - input files (from list) are stored in different order inside cpio archive - why?

Due to budget constraints I have to reinvent an Enterprise backup system in a SPARC (sun4v) Solaris estate (10 & 11). (yep - reinvent wheel, fun but time consuming. Is this wise?! :confused: ) For each filesystem of interest, to try to capture a 'catalog' at the front of each cpio archive (for... (1 Reply)
Discussion started by: am115998
1 Replies
Box(3I) 						    InterViews Reference Manual 						   Box(3I)

NAME
Box, HBox, VBox - tile interactors in a box SYNOPSIS
#include <InterViews/box.h> DESCRIPTION
A box is a scene of interactors that are tiled side-by-side in the available space. Interactors are placed left-to-right in a horizontal box, and top-to-bottom in a vertical box. A box will try to stretch or shrink the interactors inside it to fit the available space. The natural size of a box is the sum of its ele- ments along the major axis, and the maximum along its minor axis. A box's stretchability (shrinkability) is the sum of its elements along its major axis and the minimum of its elements along its minor axis. PUBLIC OPERATIONS
HBox(...) VBox(...) Create a new box. Zero to seven interactors may be passed as arguments; the interactors are inserted into the box. void Align(Alignment) Set the alignment mode that the box uses to place elements along the minor axis. The default alignment for an hbox is Bottom; other choices are Top and Center. The default alignment for a vbox is Left; other choices are Right and Center. void Insert(Interactor*) Append an interactor to the box. Components of an hbox (vbox) will appear left-to-right (top-to-bottom) in the order in which they are inserted. void Change(Interactor*) Notify the box that the given interactor's shape has changed. If change propagation is true, the box will modify its own shape to reflect the change and notify its parent. Regardless of propagation, the box will recompute the positions of the component interac- tors and update any that have changed. void Remove(Interactor*) Take an element of out a box. Remove does not cause any immediate change to the other components in the box; the Change operation must be called after one or more Removes to update the component positions. SEE ALSO
Glue(3I), Interactor(3I), Scene(3I), Shape(3I) InterViews 15 June 1987 Box(3I)
All times are GMT -4. The time now is 06:36 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy