To keep it simple, just use
The special option "--" can be used to delimit the end of the options. This is useful in delimiting non-option arguments that begin with "-" (quoted from the getopt-manpage).
Can anyone tell me why I keep on getting this error message?
../dosRename: syntax error at line 77: `end of file' unexpected
I have treid everything and I just can get it to work!
Here is the code:
#!/bin/sh
Usage() {
&& echo "\n$*\n" >&2
cat <<-EOD_USAGE >&2
Usage:... (4 Replies)
Hi there,
I hope someone can help me with this problem :
I have a directory (/var/www/file/imgprofil) which contains about 10000 JPG files. They have a naming convention thus :
prefix-date-key-suffix.jpg
they all have the prefix p-20050608-
then AAAA is a 4 letter code
the suffix is... (7 Replies)
I'm looking to determine if I can use a grep command to read file and rename the file based on the first 3 characters of the data in the file.
An example is:
Read FileA
If the first 3 positions of the data in the file are "ITP", then rename the file as FileA_ITP, else if the first 3... (3 Replies)
Hello all.
I am new to this forum (and somewhat new to UNIX / LINUX - I started using ubuntu 1 year ago).:b:
I have the following problem that I have not been able to figure out how to take care of and I was wondering if anyone could help me out.:confused:
I have all of my music stored in... (7 Replies)
Hi,
on AIX 6.1
I have a file :
myfile.log
And I want to rename it as :
myfile_dateoftheday.log
For example today (20 of Dec 2010) :
myfile_201210.log
How can I do that ?
Thanks. (4 Replies)
Hi,
i have a file with some data ..look for some specific value in the file and if found that value rename the file with the value found in the file..
ex..
File.txt
1236 43715825601ANDERSSON,
1236 437158256031963040120060901200609010000000
1236 43715825604123 MCCL AVE UPPER
1236 ... (11 Replies)
I have one input file ABC.txt and one output DEF.txt. After the ABC is processed and created output, I want to rename ABC.txt to ABC.orig and DEF to ABC.txt. Currently when I am doing this, it does not process the input file as it cannot read and write to the same file. How can I achieve this?
... (12 Replies)
I have a specific set (all ending with .bam) of downloaded files in a directory /home/cmccabe/Desktop/NGS/API/2-15-2016. What I am trying to do is use a match to $2 in name to rename the downloaded files. To make things a more involved the date of the folder is unique and in the header of name... (1 Reply)
In the below bash I am trying to copy the only text file (always only one) in /home/cmccabe/Desktop/list/QC/metrics.txt and rename each of the 3 text files according to /home/cmccabe/Desktop/test/list.txt using lines 3, 4 ,5. This format (that is list.txt) is always 5 lines. Thank you :).
... (12 Replies)
Discussion started by: cmccabe
12 Replies
LEARN ABOUT DEBIAN
jpgicc
JPEGICC(1) General Commands Manual JPEGICC(1)NAME
jpegicc - little cms ICC profile applier for JPEG.
SYNOPSIS
jpegicc [options] input.jpg output.jpg
DESCRIPTION
lcms is a standalone CMM engine, which deals with the color management. It implements a fast transformation between ICC profiles. jpegicc
is little cms ICC profile applier for JPEG.
OPTIONS -b Black point compensation.
-c <0,1,2,3>
Precalculates transform. (0=Off, 1=Normal, 2=Hi-res, 3=LoRes) [defaults to 1]
-g Marks out-of-gamut colors on softproof.
-h <0,1,2>
Show summary of options and examples.
-i profile
Input profile (defaults to sRGB).
-m <0,1,2,3>
SoftProof intent.
-n Ignore embedded profile.
-p profile
Soft proof profile
-o profile
Output profile (defaults to sRGB).
-q <0..100>
Output JPEG quality.
-t <0,1,2,3>
Intent (0=Perceptual, 1=Colorimetric, 2=Saturation, 3=Absolute).
-v Verbose.
EXAMPLES
To color correct from scanner to sRGB:
jpegicc -iscanner.icm in.jpg out.jpg
To convert from monitor1 to monitor2:
jpegicc -imon1.icm -omon2.icm in.jpg out.jpg
To make a CMYK separation:
jpegicc -oprinter.icm inrgb.jpg outcmyk.jpg
To recover sRGB from a CMYK separation:
jpegicc -iprinter.icm incmyk.jpg outrgb.jpg
To convert from CIELab ITU/Fax JPEG to sRGB
jpegicc -iitufax.icm in.jpg out.jpg
NOTES
For suggestions, comments, bug reports etc. send mail to info@littlecms.com.
SEE ALSO tifficc(1), icc2ps(1), icclink(1), icctrans(1), wtpt(1)AUTHOR
This manual page was written by Shiju p. Nair <shiju.p@gmail.com>, for the Debian project.
September 30, 2004 JPEGICC(1)