Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Lots of file copyingand renaming? Post 79715 by fdarkangel on Friday 29th of July 2005 09:30:59 PM
Old 07-29-2005
Quote:
Originally Posted by AeroEngy
It will be something like this YYMMDD_LongDesciption_of_File.mat changed to Totally_different_Char_string_MMDDYY.mat about a thousand times.
Quote:
Originally Posted by fdarkangel
it'd help if you tell what conversion you need exactly, though.
ugh. what's the relation between LongDesciption_of_File and Totally_different_Char_string (is there a rule to produce latter one from the first one, or are they just constants)? Are MM, DD and YY fields guaranteed to be 2 characters each?
 

8 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Deleting lots of files.....

Hi All, Thanks in advance for reading and any posts... I have to delete a lot of files (about 6 pages of a4 (ls -ltr)) but I have to keep some as well. I would normally do an rm * to get rid of them all, but thats not what I want to do. Is there anyway I could rm * but add in a list of... (8 Replies)
Discussion started by: B14speedfreak
8 Replies

2. Red Hat

Lots of questions about linux.

I am about 2 months new to Linux, and have only limited experience with PCLinuxOS, (kde) and Redhat. I am installing the latest version of PClinuxOS on my wife's PC right now but running into a problem I dont understand. I have never seen it before so i thought i'd ask how I can get around it.... (1 Reply)
Discussion started by: Methal
1 Replies

3. Programming

problem with lots of open sockets

I'm programming in C with lots of sockets, (asynchronous handling), and for a while it goes ok, but after a while it starts to hang, or not get complete connections anymore. checking my router, i see that i get nat tables overflow and even my DNS cacher seems to be having serious issues... ... (4 Replies)
Discussion started by: alien999999999
4 Replies

4. AIX

Lots of page faults and free memory

Hello, I've been reading your forums for quite a while and the great amount of information I find here always come in hand.This time however, I need some specific help... I have a doubt with an AIX server which I'm failing to understand as I'm new to its concept of memory management... ... (8 Replies)
Discussion started by: flpgdt
8 Replies

5. IP Networking

netstat showing lots of errors

Hi, I have a server which receive lots of events to it and when I do netstat -Ie1000g0, I'm seeing the errors as below. Name Mtu Net/Dest Address Ipkts Ierrs Opkts Oerrs Collis Queue e1000g0 1500 abc-1.com abc-1.com 3093708246 12757 92069412 0 0 0 If anyone could direct me to right... (3 Replies)
Discussion started by: mohzub
3 Replies

6. Shell Programming and Scripting

Lots of sed

Hi, I have 200 lines of sed commands in a shellscript sed s/TSTARTO2GPRSEVENTAPNACCSUM_1/TSTARTO2GPRSEVENTAPNACCSUM_24/g sed s/O2GPRSEVENTAPNACCSUM_1/O2GPRSEVENTAPNACCSUM_24/g sed s/TENDO2GPRSEVENTAPNACCSUM_1/TENDO2GPRSEVENTAPNACCSUM_24/g sed s/BSTARTO2EVENTITEM_1/BSTARTO2EVENTITEM_24/g... (6 Replies)
Discussion started by: legolad
6 Replies

7. Shell Programming and Scripting

How to rename lots of files with find?

Can someone help me with this script. I have a bunch of files like this: "2209OS_02_Code" "2209OS_03_Code" "2209OS_04_Code" "2209OS_05_Code" "2209OS_06_Code" "2209OS_07_Code" "2209OS_08_Code" "2209OS_09_Code" "2209OS_10_Code" "2209OS_10_video" and I want to rename them to be like this: ... (2 Replies)
Discussion started by: siegfried
2 Replies

8. Shell Programming and Scripting

How to remove answers and explanation parts from a text file with lots of questions.?

Hi, I have a text file with thousands of questions in it. Each question (multiple lines) with multiple choice options, Answer and Explanation (optional). I need to delete Answer & explanation parts for all Questions and insert a blank line before net question. Each question starts with NO. I... (4 Replies)
Discussion started by: prvnrk
4 Replies
GENBOX(1)						      General Commands Manual							 GENBOX(1)

NAME
       genrbox - generate a RADIANCE description of a box

SYNOPSIS
       genrbox mat name xsiz ysiz zsiz [ -i ][ -r rad | -b bev ]

DESCRIPTION
       Genbox  produces  a  RADIANCE  scene  description of a parallelepiped with one corner at the origin and the opposite corner at (xsiz, ysiz,
       zsiz).  The sides of the box will be parallel to the three coordinate planes.  The surfaces that make up the box will be  modified  by  mat
       and  their  identifiers	will  begin  with  name.  The -i option can be used to produce a box with inward directed surface normals.  The -r
       option can be used to specify the radius for rounded edges.  The -b option can be used to specify the indentation for beveled edges.

EXAMPLE
       To produce a rectangular box made of wood with beveled edges:

	 genrbox wood box1 5 8 3 -b .5 > box1

AUTHOR
       Greg Ward

BUGS
       Because spheres and cylinders are used to construct boxes with rounded edges, a transparent box of this type appears quite messy.

SEE ALSO
       genrev(1), gensurf(1), genworm(1), rpict(1), rvu(1), xform(1)

RADIANCE							     11/15/93								 GENBOX(1)
All times are GMT -4. The time now is 06:36 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy