Might be better to test the return code rather than existence of file - this would pick up errors like unable to overwrite existing file because of permissions, lack of space etc, also I'd like a specific error message - but them I'm just picky
hi,
i wat to get the output of a grep command in a file. but when i am trying out the same grep command in the unix prompt its working fine.. i am getting the output properly.. but when i am writing the same command inside my shell script , its just creating a new output file with no contents... (1 Reply)
I have a command nested in some while loops to parse some data that looks something like this.
while ($condition)
while ($condition)
...
gzcat /dir/$fileName.gz | grep $searchString > out_file
end
end
On the first loop, the command is executed properly (and takes maybe 10... (3 Replies)
here is a typical question for everyone ...
How to convert a given shell script to binaric command along with its shell script switches.
Any !dea (1 Reply)
Hi All,
Is there any way to monitor a command inside shell script ? I have a script inside which I have a tar command which zips around 200GB data.
tar zcvf $Bckp_Dir/$Box-BaseBackup-$Day.tar.gz * --exclude 'dbserver_logs/*' --exclude postmaster.pid --exclude 'pg_xlog/*'
I want to... (3 Replies)
Hi guys. Good day, morning, afternoon or night, depending on where you live.
I have a script shell in which I am looping on files (absolute path) see code section above.
I always have an error: bad substitution.
:wall:
Is it because my variable file is the index of the loop and not a normal... (4 Replies)
hii,,
I am trying to automate jira. during my scripting using bash script, in the terminal i got the terminal message like this:
"Configure which ports JIRA will use.
JIRA requires two TCP ports that are not being used by any other
applications on this machine. The HTTP port is where you... (1 Reply)
Hello Unix Shell Script Experts,
I have a script that would mask the columns in .csv file or .txt file.
First the script will untar the .zip files from Archive folder and processes into work folder and finally pushes the masked .csv files into Feed folder.
Two parameters are passed
... (5 Replies)
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
This script will analyse the channels.txt e registrations.txt and it will allow to mage the channels and the... (9 Replies)
Discussion started by: Demas
9 Replies
LEARN ABOUT DEBIAN
ogrexmlconverter
OGREXMLCONVERTER(1) General Commands Manual OGREXMLCONVERTER(1)NAME
OgreXMLConverter - converts data between XML and Ogre binary formats
SYNOPSIS
OgreXMLConverter [-i] [-e] [-l lodlevels] [-d loddist] [[-p lodpercent][-f lodnumtris]] sourcefile [destfile]
DESCRIPTION
OgreXMLConverter converts data between XML and Ogre binary formats.
OPTIONS
A summary of options is included below.
-i Interactive mode - prompt for options
-e DON'T generate edge lists (for stencil shadows)
-r DON'T reorganise vertex buffers to OGRE recommended format
-t Generate tangents (for normal mapping)
The following options are only applicable when converting XML to Mesh:
-l lodlevels
Number of LOD levels
-d loddist
Distance increment to reduce LOD
-p lodpercent
Percentage triangle reduction amount per LOD
-f lodnumtris
Fixed vertex reduction per LOD
sourcefile
Name of the file to convert
destfile
Optional name of file to write to. If you don't specify this OGRE works it out through the extension and the XML contents if the
source is XML. For example test.mesh becomes test.xml, test.xml becomes test.mesh if the XML document root is <mesh> etc.
AUTHOR
This manual page was written by Moritz Muehlenhoff <jmm@inutil.org> for the Debian GNU/Linux system, but may be used by others.
Nov 17, 2004 OGREXMLCONVERTER(1)