Hello,
I am new to shell scripting and would really appreciate if someone could help me with this question.
I have a directory structure as follows..
main directory is DATA under which i have different directories names fileserver01, fileserver02 ... till fileserver 15.
under each... (8 Replies)
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)
I have the below code to recurse through a given file path. I am able to go to the leaf level once recursively but traversing out is not possible as the required varaibles don't have the values on return. Both typeset and local don't work for my variable definitions. I have the o/p of the sample... (2 Replies)
I need to transfer software off a SCO OpenServer 5.0.5 server. I can not seem to read this server's tape on my other server since the tape drive (IBM Gen 5 DAT 72GB) will continuosly "eject" this DAT 8 tape. I have been able to 'tarball' most of the smaller directories with success and... (11 Replies)
I am trying to write a script which has to copy the directory structure from my system to another system on the network. But I dont want the files to be copied.
I think I have to start with copying all subdirectories names in a directory to a system on the network.
Here's the case:
Source... (1 Reply)
hi,
I want to copy files from source directory based on input file (or output of previous command) and i want to have the SAME DIRECTORY STRUCTURE.
Note that i will have other files and directories which i dont want to copy to destination.
For example, dir source has following content:... (22 Replies)
Hello All,
I have got a dev server and a production server will call it as D server and P server.
I have a dir structure in my D server and i need to create the same dir structure in P server also using a shell script.
If i do a find . in my D server, i am getting an o/p like :-
.
./vio... (9 Replies)
Hello Team,
We would like to backup a lot of files inside of a structure of directories, four, five or more levels in some Ubuntu, Mac and Solaris systems.
For instance:
/home/chuck/sales/virgin/rent-quote.pdf
/home/chuck/sales/marriott/vacation-quote.pdf... (2 Replies)
Discussion started by: csierra
2 Replies
LEARN ABOUT OSF1
mtu
mtu(8) System Manager's Manual mtu(8)NAME
mtu - POLYCENTER Common Agent MIB Translator Utility
SYNOPSIS
/usr/sbin/mtu [-ccode] [-i] [-l] file.mib [file.mib]...
OPTIONS
Specify the EMA entity code to be assigned to the root entity. Produce an informational parameter file for input to the POLYCENTER Common
Agent momgen utility (file.par). Produce a listing file containing the MIB information from the file.mib file and a summary of the mapping
to EMA hierarchical structures in the file.lis file.
DESCRIPTION
The mtu utility translates MIB specification files (.mib) into EMA Management Specification files (.ms). The management specifications can
be loaded into the POLYCENTER Common Agent Management Information Repository (MIR) by the /usr/sbin/mirc utility.
The MIB structure and syntax is described by Concise MIB Definitions (RFC-1212). The EMA Management Specification Language is described by
the DECmcc System Reference Manual.
If the Common Agent Developer's Toolkit layered product is installed, the mtu utility can also produce momgen information files (file.par)
from the MIB specification.
EXAMPLES
The following example translates the superbox.mib MIB file into the MSL file superbox.msl (named by derivation), specifying 1000 as the EMA
root entity. An information parameter superbox.par is created that can be use with the momgen utility. # mtu -c 1000 -i superbox.mib The
following example translates all of the MIB files in the current working directory into MSL files. For each MIB file, mtu produces the MSL
file (.msl), a listing file (.lis), and a momgen informational parameter file (.par). # mtu -i -l *.mib The following example translates
the tinybox.mib MIB file into the MSL file tinybox.msl, specifying 500 as the EMA root entity. A momgen informational parameter file
(tinybox.par) is also generated. The smallbox.mib MIB file is translated into the MSL file smallbox.msl, specifying 1000 as the EMA root
entity. A momgen informational parameter file (smallbox.par) is also generated. # mtu -c 500 -i tinybox.mib -c 1000 -i smallbox.mib
FILES
A listing file that contains a numbered version of the MIB input file followed by a hierarchical management specification summary. If
errors are encountered, this file contains the diagnostic at the line where the error occurred. MIB input file. MSL output file. The
momgen informational parameter file. It contains class, parent, and prefix information used by the momgen utility when generating a Man-
aged Object Module.
SEE ALSO
Concise MIB Definition (RFC 1212)
Convention for Defining Traps (RFC 1215)
DECmcc System Reference Manual
mtu(8)