Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
recursive link copy
Name: former33t Date: May 4, 2004 at 16:17:08 Pacific OS: Solaris 8 CPU/Ram: ultra-10
Comment:
I am trying to perform a recursive copy of a directory that includes links in a subdirectory. Is there any way to do this from the command line without scripting?
I figured out how to do it with a script (probably poorly written), but would like to find out if there is a way to do it from the command line (for future reference).
Name: Dlonra Date: May 4, 2004 at 17:18:12 Pacific
Reply:
"links in a subdirectory" - symbolic/hard links which you want/not copy as links??
have you tried "man cp"?
0
Response Number 2
Name: former33t Date: May 5, 2004 at 11:38:25 Pacific
Reply:
Yes, I tried the man pages.
I am looking at symbolic links in a subdirectroy that I want to recursively copy over to a new filesystem on the same system. The place I work at uses a netapp server, so each home account is on its own filesystem (according to a 'df .'). I would like to be able to copy over application proprietary configuration directories from one user's home account to another without having to manually relink the files. I get the message that the system could not access the symbolic link, copy failed.
Am I missing something really simple here?
0
Response Number 3
Name: Dlonra Date: May 5, 2004 at 14:38:23 Pacific
Reply:
"the system could not access the symbolic link" perhaps the message was "No such file or directory"?
Summary: copy recursively a directory (only one kind of file) --- hi! I would like to copy recursively a directory and its contain... but only a certain type of file. for example : /dir1/ and all pdf file in i...
Summary: Hi, I need to create a shell script that is able to copy all files and subdirectories of a specified directory into a UNIX box via ftp. mget only copies the files from the current directory. Does anyo...
Summary: Here is a tree script that was sent to me a while back. I modified it to use Korn shell and took out all the `expr` stuff and typeset some integer variables so the script would run a little faster. #...