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.
cp command
Name: johnk Date: October 24, 2003 at 06:29:55 Pacific OS: solaris 8 CPU/Ram: sparc
Comment:
I was wondering if there was any way to copy a bunch of directories, but not the files under them. I have a bunch of directories I need to copy over and in each directory are three files, but I only want one of those files. Is there any varation of the cp command or any other command that can do this.
Name: nick Date: October 24, 2003 at 07:18:58 Pacific
Reply:
off the top of my head i would say no, at least not w/ cp.
You could get a little creative and write a shell script to do it for you, it wouldnt that long, and pretty easy to write using any scripting language.
Summary: Hello! I am running oracle 8i on solaris and i need to take a backup of all database files. This is the mapping of oracle folder... /dev/md/dsk/d82 35G 8.1G 24G 26% /oracle but now obviously...
Summary: Addendum #1: For the mkdir commands, use: mkdir -p /dir_x/dir_y/orcl901_1 mkdir -p /dir_x/dir_y/orcl901_2 mkdir -p /dir_x/dir_y/orcl901_3 where dir_x and dir_y are directory names of your choice. For ...
Summary: I am trying to find a command or develop a script that will search for a group of files with a particular extension that are all residing in different subdirectories, take the output of that find comm...