12-06-2012
Hi Corona688. That works! Thanks!
This User Gave Thanks to lost.identity For This Post:
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hello,
I want to rename multiple files at a time and I don't know how to do it.
I have various ".mp3" files, like "band name - music name.mp3" and I want to remove the "band name" from all files.
Anybody knows how to do it using shell script or sed or even perl?
Thanks (7 Replies)
Discussion started by: luiz_fer10
7 Replies
2. Shell Programming and Scripting
Hi all, I have some files like:
pickup.0000043200.t001.t001.data
pickup.0000043200.t001.t002.data
pickup.0000043200.t002.t001.data
pickup.0000043200.t002.t002.data
pickup.0000043200.t003.t001.data
pickup.0000043200.t003.t002.data
I need to rename these files to
... (3 Replies)
Discussion started by: a_dor8
3 Replies
3. UNIX for Dummies Questions & Answers
Hi all, I have some files like:
pickup.0000043200.t001.t001.data
pickup.0000043200.t001.t002.data
pickup.0000043200.t002.t001.data
pickup.0000043200.t002.t002.data
pickup.0000043200.t003.t001.data
pickup.0000043200.t003.t002.data
I need to rename these files to
... (4 Replies)
Discussion started by: a_dor8
4 Replies
4. UNIX for Dummies Questions & Answers
Hi everyone,
I'm very green in Linux.
Please help me to solve my problem.
I have thousands of files and I want to change their names.
They have naming convection: prefix_date_date+1_suffix.nc
prefix: ext-GLORY
date_date+1: 20020101_20020102
and two types of suffix: gridV_R20020130 and... (3 Replies)
Discussion started by: makikicindy
3 Replies
5. Shell Programming and Scripting
Hi
I need to reanme the multiple file using unix script
I have multiple file
like:
sample_YYYYMMDD.xls
test new_YYYYMMDD.xls
simple_YYYYMMDD.xls
I need to rename this file
sample.xls
testnew.xls
SIMPLE.xls
thanks (8 Replies)
Discussion started by: murari83.ds
8 Replies
6. Shell Programming and Scripting
hello:
I have multiple files with names like: somestring_y2010m01d01
somestring_y2010m01d02
..........
somestring_y2010m12d31
How... (4 Replies)
Discussion started by: sylcam
4 Replies
7. UNIX for Dummies Questions & Answers
Hey guys, I am the definition of a newbie. I am in the process of trying to rip all my dvds onto a new HTPC I setup. While doing this, I am also trying to organize a bunch of other files I already have to proper naming conventions. So far I have just been naming each file separately (I am on a... (4 Replies)
Discussion started by: Ralze34
4 Replies
8. UNIX for Dummies Questions & Answers
Hi,
I want perl script for the below requirement.
We have lot of files like below name in the directory
750464921-RE-file2.csv
750452173-RE-file1.csv
750385426-RE-file3.csv
750373470-RE-file4.csv
And also we have another file as "Group.csv" in the same directory as per the below format... (9 Replies)
Discussion started by: armsaran
9 Replies
9. Shell Programming and Scripting
I have multiple files in folder which i want to rename. hence I am using the below command in my script by I get an error:
export XXX_LOG_DIR="${LOG_DIR}/${XXX_HOST}/xxx/${REPORT_DATE}"
mv $XXX_LOG_DIR/*.audit.gz $XXX_LOG_DIR/*.audit.log.gz
But I get the below error:
mv: target... (5 Replies)
Discussion started by: karan8810
5 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 CENTOS
gvmap.sh
GVMAP.SH(1) General Commands Manual GVMAP.SH(1)
NAME
gvmap.sh - pipeline for running gvmap
SYNOPSIS
gvmap.sh [-vV?] [ options ] [ -o outfile ] [ files ]
DESCRIPTION
gvmap.sh takes as input a graph in DOT format, performs a layout, runs the output through gvmap and renders the output. At some point, it
is hoped to integrate all of these tasks into gvmap.
OPTIONS
The following options are supported:
-a k The integer k specifies the average number of artificial points added along the bounding box of the labels. Such artificial points
are added to avoid a country boundary cutting through the boundary box of the labels. Computing time is proportional to k; hence,
for large graphs, a small value of k is suggested. If k = -1, a suitable value of k is automatically selected based on the graph
size. By default k = -1.
-K layout
specifies which program should be use for the initial layout. By default, sfdp is run. Also by default, the layout is passed the
flag -Goverlap=prism. This can be overridden using a -g flag.
-T format
specifies the final output format. This works the same way as the -T flag for any Graphviz layout program.
-N attr=val
specifies the setting of a default node attribute during the rendering phase. This works the same way as the -N flag for any
Graphviz layout program.
-G attr=val
specifies the setting of a graph attribute during the rendering phase. This works the same way as the -G flag for any Graphviz lay-
out program.
-E attr=val
specifies the setting of a default edge attribute during the rendering phase. This works the same way as the -E flag for any
Graphviz layout program.
-n attr=val
specifies the setting of a default node attribute during the layout phase. This works the same way as the -N flag for any Graphviz
layout program.
-g attr=val
specifies the setting of a graph attribute during the layout phase. This works the same way as the -G flag for any Graphviz layout
program.
-e attr=val
specifies the setting of a default edge attribute during the layout phase. This works the same way as the -E flag for any Graphviz
layout program.
-A flag
specifies a flag to be passed to gvmap. For example, gvmap.sh -Ae -As3 causes gvmap -e -s3 to be run.
-v Set verbose mode.
-V Print version information and exit.
-? Print usage information and exit.
EXAMPLES
The following invocation creates a map with edges in semi-transparent light gray and nodes laid out using sfdp:
gvmap.sh -Ae -Ecolor=#55555522 -Tpng foo.gv > foo.png
It is equivalent to running the pipeline
sfdp -Goverlap=prism foo.gv | gvmap -e | neato -n2 -Ecolor=#55555522 -Tpng > foo.png
AUTHOR
Emden R. Gansner <erg@research.att.com>
SEE ALSO
gvmap(1), sfdp(1), neato(1), gvpr(1)
E. R. Gansner, Y. Hu, S. G. Kobourov, "GMap: Visualizing graphs and clusters as maps," Proc. Pacific Vis. 2010, pp. 201-208.
31 March 2011 GVMAP.SH(1)