12-06-2012
Yes, the syntax is correct. It should run with that installer properties file.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I just set up an ftp server with Red Hat 5.2. I am doing the work, I'm baby stepping, but it seems like every step I get stuck. Currently, I'm trying to set up a crontab job, but I'm getting the following message: /bin/sh: /usr/bin/vi: No such file or directory. I see that vi exists in /bin/vi,... (3 Replies)
Discussion started by: kwalter
3 Replies
2. HP-UX
Hi
How can we identify the informations like Author, meta data, dependency and other information from a depot file? (1 Reply)
Discussion started by: sethumadhavan
1 Replies
3. UNIX for Dummies Questions & Answers
Hi ,
I do have a line in my code as follows:
if ] ; then
...
else
...
fi
What does the -z does ? Similarly there is -s in some other part of the code. I guess there are many options like this.. Can anybody please tell what all options are available and what do they mean ? (2 Replies)
Discussion started by: risshanth
2 Replies
4. Linux
# Timer for thread to sleep
thread.sleep =15000
# To run the thread as daemon process
thread.run = true
# Copy command
thread.cmd = C:\Program Files\Java\jdk1.5.0\bin\java CopyFile
This is .properties file. CopyFile is name of program.
is that ok. if i use cp command inplace of... (0 Replies)
Discussion started by: sari
0 Replies
5. Shell Programming and Scripting
I am trying to take input from a file and direct it into a bash script. This script is meant to be a foreach loop. I would like the script to process each item in the list one by one and direct the output to a file.
# cat 1loop
#!/bin/bash
# this 2>&1 to redirect STDERR & STDOUT to file... (4 Replies)
Discussion started by: bash_in_my_head
4 Replies
6. Shell Programming and Scripting
Hi
Am new to this scripting stuff so bear with me.
I got a script made now that reads in a properties file. The properties file is in the following format:
256= Bos, Sea, FRa
128= HEL
I want to be able to read in each line of the file and split out the letter fields by the numbered field. This... (2 Replies)
Discussion started by: vsekvsek
2 Replies
7. Shell Programming and Scripting
Hi,
I need to query Oracle database for 100 users. I have these 100 users in a file. I need a shell script which would read this User file (one user at a time) & query database.
For instance:
USER CITY
--------- ----------
A CITY_A
B CITY_B
C ... (2 Replies)
Discussion started by: DevendraG
2 Replies
8. Shell Programming and Scripting
Hi,
I'm working on a script which has to copy multiple files from one server to another server. The list of files that are to be copied is present in a file say input.txt.
vi input.txt
abc.c
welcome.c
new.c
welcome1.c
for ftp'ing a single file say 'new.c' the following code... (2 Replies)
Discussion started by: i.srini89
2 Replies
9. UNIX for Dummies Questions & Answers
hi,
i am having a file which contains the below content, i need to take the word count of if and print the file name also
inputfile.txt
file_name1.txt,type_name1.txt
file_name2.txt,type_name2.txt
i would need the word count of the files like this
if file_name*.txt
then
wc -l... (10 Replies)
Discussion started by: rohit_shinez
10 Replies
10. Shell Programming and Scripting
Hi,
Below is my requirement
File1:
svasjsdhvassdvasdhhgvasddhvasdhasdjhvasdjsahvasdjvdasjdvvsadjhv
vdjvsdjasvdasdjbasdjbasdjhasbdasjhdbjheasbdasjdsajhbjasbjasbhddjb
svfsdhgvfdshgvfsdhfvsdadhfvsajhvasjdhvsajhdvsadjvhasjhdvjhsadjahs
File2:
sdh
hgv
I need a command such that... (8 Replies)
Discussion started by: imrandec85
8 Replies
LEARN ABOUT DEBIAN
pegasus-tc-converter
PEGASUS-TC-CONVERT(1) PEGASUS-TC-CONVERT(1)
NAME
pegasus-tc-converter - A client to convert transformation catalog from one format to another format.
SYNOPSIS
pegasus-tc-converter [-Dproperty=value...] [-v] [-q] [-V] [-h]
[-I fmt] [-O fmt]
[-N dbusername] [-P dbpassword] [-U dburl] [-H dbhost]
-i infile[,infile,...] -o outfile
DESCRIPTION
The tc-convert program is used to convert the transformation catalog from one format to another.
Currently, the following formats of transformation catalog exist:
Text
This is a easy to read multi line textual format.
A sample entry in this format looks as follows:
tr example::keg:1.0 {
site isi {
profile env "JAVA_HOME" "/bin/java.1.6"
pfn "/path/to/keg"
arch "x86"
os "linux"
osrelease "fc"
osversion "4"
type "installed"
}
}
File
This is a tuple based format which contains 6 columns.
RESOURCE LFN PFN TYPE SYSINFO PROFILES
A sample entry in this format looks as follows
isi example::keg:1.0 /path/to/keg INSTALLED INTEL32::LINUX:fc_4: env::JAVA_HOME="/bin/java.1.6"
Database
Only MySQL is supported for the time being.
OPTIONS
-Dproperty=value
The -D option allows an experienced user to override certain properties which influence the program execution, among them the default
location of the user's properties file and the PEGASUS_HOME location. One may set several CLI properties by giving this option multiple
times.
The -D option(s) must be the first option on the command line. CLI properties take precedence over the file-based properties of the
same key.
-I fmt, --iformat fmt
The input format of the input files. Valid values for the input format are: File, Text, and Database.
-O fmt --oformat fmt The output format of the output file. Valid values for the output format are: File, Text, and Database.
-i infile[,infile,...] --input infile[,infile,...] The comma separated list of input files that need to be converted to a file in the
format specified by the --oformat option.
-o outfile, --output outfile
The output file to which the output needs to be written out to.
Other Options
-N dbusername, --db-user-name dbusername
The database user name.
-P dbpassword, --db-user-pwd dbpassword
The database user password.
-U dburl, --db-url dburl
The database url.
-H dbhost, --db-host dbhost
The database host.
-v, --verbose
Increases the verbosity of messages about what is going on. By default, all FATAL ERROR, ERROR , CONSOLE and WARNINGS messages are
logged.
-q, --quiet
Decreases the verbosity of messages about what is going on. By default, all FATAL ERROR, ERROR , CONSOLE and WARNINGS messages are
logged.
-V, --version
Displays the current version number of the Pegasus Workflow Planner Software.
-h, --help
Displays all the options to the pegasus-tc-converter command.
EXAMPLE
Text to file format conversion
pegasus-tc-converter -i tc.data -I File -o tc.txt -O Text -v
File to Database(new) format conversion
pegasus-tc-converter -i tc.data -I File -N mysql_user -P mysql_pwd -U jdbc:mysql://localhost:3306/tc -H localhost -O Database -v
Database (username, password, host, url specified in properties file) to text format conversion
pegasus-tc-converter -I Database -o tc.txt -O Text -vvvvv
AUTHORS
Prasanth Thomas
Pegasus Team http://pegasus.isi.edu
05/24/2012 PEGASUS-TC-CONVERT(1)