01-03-2013
Hi Bakunin,Peasant
Thanks for the response. Apologize for not mentioning the query correctly.
It's not moving. Actually I need to create the same directory structures in the new
solaris server and place all the existing application scripts into the new server.
Thanks
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Any body any ideas i'm failry new to this so any help would be appreciated.
Cheers
Steve (2 Replies)
Discussion started by: gleads
2 Replies
2. UNIX for Dummies Questions & Answers
Hi all
Is it possible to copy a structure of a directory only.
e.g.
I have a file with the following entries that is a result of a find :-
/dir1/dir2/file.dbf
/dir1/dir2/dir3/file1.dbf
/dir1/file.dbf
I want to copy these to a directory and keep the structure however starting at a new dir... (8 Replies)
Discussion started by: jhansrod
8 Replies
3. UNIX for Advanced & Expert Users
Hi,
I am trying to write a script that will move all the files from source directory structure(multiple levels might exist) to destination directory structure. If a sub folder is source doesnot exist in destination then I have to skip and goto next level. I also need to delete the files in... (4 Replies)
Discussion started by: srmadab
4 Replies
4. Shell Programming and Scripting
I have writen the following code to show the dirctory structure. Can any body help me for using the recursive function in this code?
echo "-(0)"
echo "$HOME-(1)"
cd ~
set *
for i in `ls $HOME`
do
if
then
echo ".....${i}"
cd... (5 Replies)
Discussion started by: murtaza
5 Replies
5. Shell Programming and Scripting
I have list of files named file_username_051208_025233.log. Here 051208 is the date and 025233 is the time.I have to run thousands of files daily.I want to put all the files depending on the date of running into a date directory.Suppose if we run files today they should put into 05:Dec:08... (3 Replies)
Discussion started by: ravi030
3 Replies
6. UNIX for Dummies Questions & Answers
Hi...
I have a directory which has multiple directories and sub directories inside...
what command should i use to get a list of all these directories, without the filenames.... (2 Replies)
Discussion started by: saharookiedba
2 Replies
7. Shell Programming and Scripting
got it figured out :) (1 Reply)
Discussion started by: sHockz
1 Replies
8. Shell Programming and Scripting
Hi ,
Can you please check this code .I am getting the follwing error while executing the script.
Please help me out.
#rm /tmp/$$
#!/bin/ksh
dir_one="/usr/bin/sou"
dir_two="usr/bin/sou/temp"
for files in $dir_one/*.txt
do ... (31 Replies)
Discussion started by: soumyamishra
31 Replies
9. Shell Programming and Scripting
Hi,
Could you please assist how to move the gz files which are older than the 90 days from one folder to another folder ,before that it need to check the file system named "nfs" if size is less than 90 or not. If size is above 90 then it shouldn't perform file move and exit the script throwing... (4 Replies)
Discussion started by: venkat918
4 Replies
LEARN ABOUT HPUX
create_clearinghouse
create clearinghouse(1m) create clearinghouse(1m)
NAME
create clearinghouse - Creates a clearinghouse on the local server system or makes an existing clearinghouse available
SYNOPSIS
cdscp create clearinghouse clearinghouse-name
ARGUMENTS
The full name of the clearinghouse.
DESCRIPTION
The create clearinghouse command creates a clearinghouse on the local server system or makes an existing clearinghouse available. The
server start-up command usually creates a new clearinghouse when you configure a new CDS server. Occasionally, you may need to create a
second clearinghouse on a particular server; for example, if you are temporarily relocating a clearinghouse on a different server. See the
OSF DCE Administration Guide for more information about relocating a clearinghouse.
Clearinghouses should be named only in the root. When you enter the command, CDS creates a read-only replica of the root directory and
stores it in the new clearinghouse as the initial replica. Because the process that creates the new clearinghouse initiates a skulk of the
root directory, all replicas of the root should be reachable when you enter the command.
Privilege Required
You need write permission to the server on which you intend to create the clearinghouse and administer permission to the cell root direc-
tory. The server principal needs read, write, and administer permission to the cell root directory.
NOTES
This command is usually executed only by the network configuration procedure. To ensure that all replicas of the root are reachable, per-
form an immediate skulk of /.: prior to issuing this command.
This command is replaced at Revision 1.1 by the dcecp command and may not be provided in future releases of DCE.
EXAMPLE
The following command creates a clearinghouse named /.:/Boston_CH on the local server system: cdscp> create clearinghouse /.:/Boston_CH
RELATED INFORMATION
Commands: clear clearinghouse(1m), delete clearinghouse(1m), list clearinghouse(1m), set cdscp preferred clearinghouse(1m), show cached
clearinghouse(1m), show cdscp preferred clearinghouse(1m), show clearinghouse(1m)
Books: OSF DCE Administration Guide
create clearinghouse(1m)