07-03-2008
omg, it works! thanks Annihilannic ....
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi
I have following list of files at a path:
01.AR.asset
01.AR.index
01.AR.asset.vf
01.AR.asset.xv
I want to rename all these files as follows:
73.AR.asset.Z
73.AR.index.Z
73.AR.asset.vf.Z
73.AR.asset.xv.Z
Can any body give me a single command to acheive the above results.
... (5 Replies)
Discussion started by: tayyabq8
5 Replies
2. Shell Programming and Scripting
Well the title is not too good, so I will explain.
I need to move (rename) files using a simple AIX script.
???file1.txt
???file2.txt
???file1a.txt
???file2a.txt
to be:
???renamedfile1'date'.txt
???renamedfile2'date'.txt
???renamedfile1a'date'.txt
???renamedfile2a'date'.txt
... (4 Replies)
Discussion started by: grimace15
4 Replies
3. Shell Programming and Scripting
Hi,
I'm not very experienced in shell scripting and that's probably why I came across the following problem:
I do have several hundred pairs of text files (PF00x.spl and PF00x.shd) where the first file (PF00x.spl) needs to be renamed according a string that is included in the second file... (12 Replies)
Discussion started by: inCH
12 Replies
4. UNIX for Dummies Questions & Answers
Hi all,
I wish to know about a simple concept of mv command in UNIX. Is moving a file to a different directory takes longer than renaming it in the same direcotry using the mv command?
The scenerio is that I have to transfer a file from one directory to a location which is regularly scanned... (3 Replies)
Discussion started by: sweety123
3 Replies
5. Shell Programming and Scripting
Hi All,
I have some 80,000 files in a directory which I need to rename. Below is the command which I am currently running and it seems, it is taking fore ever to run this command. This command seems too slow. Is there any way to speed up the command. I have have GNU Parallel installed on my... (6 Replies)
Discussion started by: shoaibjameel123
6 Replies
6. Shell Programming and Scripting
hi!
i want to rename all files with no extension with the extension DAT.
with this command ls |grep -v "\\." i can list files but i dont know how i am going to rename them..
so
i tried
FILE_LIST=ls |grep -v "\\."
for TEST_FILE in ${FILE_LIST}
do
mv $TEST_FILE... (2 Replies)
Discussion started by: kouppoua
2 Replies
7. Shell Programming and Scripting
Hi all,
I have a many folders with zipped files in them. The zipped files are txt files from different folders. The txt files have the same names. If i try to
find . -type f -name "*.zip" -exec cp -R {} /myhome/ZIP \; it fails since the ZIP files from different folders have the same names and... (2 Replies)
Discussion started by: pmkenya
2 Replies
8. UNIX for Beginners Questions & Answers
Hey all, I really need help with some homework I'm having on UNIX. This probably sounds stupid, but I'm being asked to move a file to a specific directory and rename it a specified name in one command. I know how to do it in more than one command, I just can't seem to figure it out using only one... (1 Reply)
Discussion started by: ayylmao12
1 Replies
9. UNIX for Dummies Questions & Answers
I have to ftp and rename the file with #finished# extension after successfully transfer. In some environments the command rename ABCD.dat ABCD.#finished# is working fine, but some environments its not working, I have to use escape character something like : rename ABCD.dat ABCD.\#finished\#
Why is... (3 Replies)
Discussion started by: srikanth38
3 Replies
10. Shell Programming and Scripting
Hey guys,
I have wrote the following script to apply a module named "trinity" on my files. (it takes two input files and spit a trinity.fasta as output)
#!/bin/bash -l
#SBATCH -p node
#SBATCH -A <projectID>
#SBATCH -n 16
#SBATCH -t 7-00:00:00
#SBATCH --mem=128GB
#SBATCH --mail-type=ALL... (1 Reply)
Discussion started by: @man
1 Replies
LEARN ABOUT DEBIAN
orbit-idl-2
ORBIT-IDL-2(1) General Commands Manual ORBIT-IDL-2(1)
NAME
orbit-idl-2 - IDL compiler for ORBit2
SYNOPSIS
orbit-idl-2 [ options ] file...
DESCRIPTION
orbit-idl-2 converts object interface descriptions written in CORBA IDL (Interface Definition Language) into C code that you can compile
and link into your programs.
OPTIONS
orbit-idl-2 accepts the following options:
-d ARG
--debug=ARG
Set the debug level. Supported levels are 0 to 4, default is 2.
--idlwarnlevel=INT
Set the warning level for compiler warnings. Supported levels are 0 to 4, default is 2.
--showcpperrors
Show errors from cpp(1).
--small
Optimize for size instead of speed.
--oldstyle
Use the old style IDL compiler (not generally recommended).
--skeleton-impl
Generate a skeleton-impl file.
--nostubs
Do not create the stubs file.
--noskels
Do not create the skels file.
--nocommon
Do not create the common file.
--noheaders
Do not create the headers file.
--noidata
Don't generate Interface type data.
-i
--imodule
Generate only an imodule file (no skels, stubs, etc.).
--add-imodule
Generate an imodule file (as well as other files generated by default or by other options).
--onlytop
Inhibit file includes.
--pidl Treat source as pseudo-IDL.
-D ARG
--define=ARG
Define name for preprocessor.
-I PATH
--include=PATH
Add search path for include files.
--deps=FILENAME
Generate dependency information, suitable for inclusion in a Makefile.
-l ARG
--lang=ARG
Specify the output language. The default is C. Support for languages other than C requires the installation of a backend for that
language.
--backenddir=DIR
Specify the directory where a language backend is stored (not necessary if backend is stored in the default directory).
--usage
Print a very brief usage summary.
-?
--help
Print a slightly more detailed usage summary.
-v
--version
Print version number and serial.
COMPILING
The IDL file(s) compiled by orbit-idl-2 define the interfaces to network-transparent objects. These files are first passed to cpp(1), the
C Preprocessor, then the result is parsed, and the C code is generated.
By default, orbit-idl-2 generates four files, the stubs, skels, common, and header files. If your input file is named sample.idl, then
the output files will be named, respectively, sample-stubs.c, sample-skels.c, sample-common.c, and sample.h. You can optionally also gen-
erate a skeleton-impl file (which would be named sample-skelimpl.c in our example), or an imodule file (e.g. sample-imodule.c). These
files require manual editing to be useful, and is therefore not generated by default.
The generated C files are formatting ("pretty-printed") using indent(1). You can use another program for this if you prefer, with the --c-
output-formatter argument.
SEE ALSO
orbit2-config(1), cpp(1), indent(1), /usr/share/doc/liborbit2-dev, http://orbit-resource.sourceforge.net, http://www.omg.org.
AUTHOR
Copyright (C) 2001, 2002 Dick Porter <dick@acm.org> and Elliot Lee <sopwith@redhat.com>
This manual was originally written for orbit-idl by Chris Waters <xtifr@debian.org> for Debian GNU/Linux.
Version 0.5.15 18 March 2002 ORBIT-IDL-2(1)