I need some help with a unix script to mv image files to subdirectories based on the 1st character of the filename. See example below...
/images/main
1191.jpg
9999.jpg
A101.jpg
A102.jpg
B201.jpg
c333.jpg
...
Z999.jpg
I would like to move to the following:
... (11 Replies)
Hi All,
I have some files in a directory. If the file size is 0 i want to move the file to new directory using unix script. Can anyone help me in this regard
Thanks
Vinny (4 Replies)
Hi All
I need a script to manipulate files based on a filename:
example filename: 66600_042706.pdf
the script will create a directory 66000 only if this directory is not existing. If that directory is existing it will just move the file to 66000/666000_042706.pdf
in addition, i want to... (4 Replies)
I want a script that will move everything beyond a certain line number or beyond a certain content word into another file.
For example, if file A has this:
first line
second line
third line
forth line
fifth line
sixth line
I want to run a script that will move everything beyond the third... (4 Replies)
Hi all,
I've already tired to try to solved this problem. Also search in Internet didn't find anything solution
I have a directory like this :
# pwd
/opt/projects/juventini
# ls -al | more
total 3627460
drwxr-xr-x 2 app apps 12472320 Sep 24 14:59 .
drwxr-xr-x 11 app apps 4096 Jun... (8 Replies)
hello -
A SystemOut.log file has recurring entries that follow this format:
Principal: auth9.nick.al.gov:389/USERNAME
Over the course of a day thousands of lines similar to this are produced, with each username represented hundreds of times.
I need to create a new file that shows... (4 Replies)
Hello,
I have File1 in a directory A, a File2 in a directory B.
If the File2 is not empty
Then I have to move File1 from directory A to a directory archive
Else no action.
Is it possible to do this from one command line?
Thank you in advance for your answers.
Madi (2 Replies)
I am trying to mv each of the .vcf files in the variants folder to the folder in /home/cmccabe/f2 that the .vcf id is found in file. $2 in file will always have the id of a .vcf in the variants folder. The line in blue staring with R_2019 in file up to the -v5.6 will always be an exact match to a... (4 Replies)
Discussion started by: cmccabe
4 Replies
LEARN ABOUT PHP
genrbox
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)