Linux cpanel.rrshost.in 5.15.0-25-generic #25-Ubuntu SMP Wed Mar 30 15:54:22 UTC 2022 x86_64
Apache
: 109.123.238.221 | : 108.162.216.89
128 Domain
8.2.28
aev999
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
usr /
share /
doc /
graphicsmagick /
www /
[ HOME SHELL ]
Name
Size
Permission
Action
images
[ DIR ]
drwxr-xr-x
wand
[ DIR ]
drwxr-xr-x
ChangeLog-2001.html
23.56
KB
-rw-r--r--
ChangeLog-2002.html
95.11
KB
-rw-r--r--
ChangeLog-2003.html
257.78
KB
-rw-r--r--
ChangeLog-2004.html
87.64
KB
-rw-r--r--
ChangeLog-2005.html
58.03
KB
-rw-r--r--
ChangeLog-2006.html
14.43
KB
-rw-r--r--
ChangeLog-2007.html
57.83
KB
-rw-r--r--
ChangeLog-2008.html
127.75
KB
-rw-r--r--
ChangeLog-2009.html
106.29
KB
-rw-r--r--
ChangeLog-2010.html
44.81
KB
-rw-r--r--
ChangeLog-2011.html
40.59
KB
-rw-r--r--
ChangeLog-2012.html
58.38
KB
-rw-r--r--
ChangeLog-2013.html
35.93
KB
-rw-r--r--
ChangeLog-2014.html
57.66
KB
-rw-r--r--
ChangeLog-2015.html
111.57
KB
-rw-r--r--
ChangeLog-2016.html
59.17
KB
-rw-r--r--
ChangeLog-2017.html
72.3
KB
-rw-r--r--
ChangeLog-2018.html
170.85
KB
-rw-r--r--
ChangeLog-2019.html
84.87
KB
-rw-r--r--
ChangeLog-2020.html
74.61
KB
-rw-r--r--
ChangeLog-2021.html
50.82
KB
-rw-r--r--
Changes.html
4.78
KB
-rw-r--r--
Copyright.html
15.27
KB
-rw-r--r--
FAQ.html
47.41
KB
-rw-r--r--
GraphicsMagick.html
376.79
KB
-rw-r--r--
Hg.html
15.76
KB
-rw-r--r--
INSTALL-unix.html
60.78
KB
-rw-r--r--
INSTALL-windows.html
40.33
KB
-rw-r--r--
ImageMagickObject.html
7.17
KB
-rw-r--r--
NEWS.html
211.05
KB
-rw-r--r--
OpenMP.html
12.77
KB
-rw-r--r--
README.html
22.68
KB
-rw-r--r--
animate.html
41.85
KB
-rw-r--r--
authors.html
8.6
KB
-rw-r--r--
batch.html
10.6
KB
-rw-r--r--
benchmark.html
11.78
KB
-rw-r--r--
benchmarks.html
7.1
KB
-rw-r--r--
bugs.html
2.89
KB
-rw-r--r--
color.html
30.19
KB
-rw-r--r--
compare.html
19.27
KB
-rw-r--r--
composite.html
39.9
KB
-rw-r--r--
configure-target-setup.png
7.21
KB
-rw-r--r--
conjure.html
15.4
KB
-rw-r--r--
contribute.html
6.85
KB
-rw-r--r--
convert.html
90.16
KB
-rw-r--r--
display.html
140.58
KB
-rw-r--r--
docutils-api.css
8.56
KB
-rw-r--r--
docutils-articles.css
9.95
KB
-rw-r--r--
download.html
7.25
KB
-rw-r--r--
favicon.ico
922
B
-rw-r--r--
formats.html
41.29
KB
-rw-r--r--
gm.html
891.41
KB
-rw-r--r--
identify.html
13.4
KB
-rw-r--r--
import.html
30.34
KB
-rw-r--r--
index.html
9.75
KB
-rw-r--r--
links.html
14.44
KB
-rw-r--r--
magick.css
2.36
KB
-rw-r--r--
miff.html
17.44
KB
-rw-r--r--
mission.html
3.32
KB
-rw-r--r--
mogrify.html
81.71
KB
-rw-r--r--
montage.html
54.05
KB
-rw-r--r--
motion-picture.html
32.02
KB
-rw-r--r--
perl.html
54.33
KB
-rw-r--r--
process.html
5.97
KB
-rw-r--r--
programming.html
5.74
KB
-rw-r--r--
project.html
3.82
KB
-rw-r--r--
quantize.html
11.81
KB
-rw-r--r--
reference.html
2.42
KB
-rw-r--r--
security.html
19.6
KB
-rw-r--r--
smile.c.gz
982
B
-rw-r--r--
thanks.html
6.07
KB
-rw-r--r--
time.html
4.77
KB
-rw-r--r--
tools.html
11.6
KB
-rw-r--r--
utilities.html
4.99
KB
-rw-r--r--
version.html
5.98
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : batch.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta HTTP-EQUIV="CONTENT-TYPE" CONTENT="text/html; charset=us-ascii"> <title>GraphicsMagick GM Utility</title> <style type=text/css> <!-- @page { size: 8.5in 11in } TD P { color: #000000; font-family: "Verdana", "Arial", "Helvetica", sans-serif; font-size: 12pt } P { color: #000000; font-family: "Verdana", "Arial", "Helvetica", sans-serif; font-size: 12pt } A:link { color: #00B04F } A:visited { color: #007B37 } --> </style> </head> <body LANG="en-US" TEXT="#000000" LINK="#00B04F" VLINK="#007B37" BGCOLOR="#ffffff"> <a name="top"></a> <table border=0 cellpadding=10 cellspacing=0 style="margin-top:-17px" width="100%"><tr><td> <br> <br> <table BORDER=0 WIDTH="100%"> <tr> <td ALIGN=LEFT bgcolor="#FFFFFF"><img SRC="images/right_triangle.png" ALT=">" BORDER=0 height=14 width=15><b><font face="Helvetica, Arial"><font color="#00B04F"><font size="+1"> <a NAME="batch"></a>gm batch </font></font></font></b></td></tr></table> <table width="94%" border="0" cellspacing="0" cellpadding="8"> <tr><td width="3%"><br></td><td> <table BORDER=0 WIDTH="100%"> <tr> <td ALIGN=LEFT bgcolor="#FFFFFF"><img SRC="images/right_triangle.png" ALT=">" BORDER=0 height=14 width=15><b><font face="Helvetica, Arial"><font color="#00B04F"><font size="+1"> <a NAME="batch-top"></a>NAME </font></font></font></b></td></tr></table> <table width="94%" border="0" cellspacing="0" cellpadding="8"> <tr><td width="3%"><br></td><td> batch - execute multiple gm commands as a script </td></tr></table> <table BORDER=0 WIDTH="100%"> <tr> <td ALIGN=LEFT bgcolor="#FFFFFF"><img SRC="images/right_triangle.png" ALT=">" BORDER=0 height=14 width=15><b><font face="Helvetica, Arial"><font color="#00B04F"><font size="+1"> <a NAME="batch-contents"></a>Contents </font></font></font></b></td></tr></table> <table width="94%" border="0" cellspacing="0" cellpadding="8"> <tr><td width="3%"><br></td><td> <dl> <dt> <a href="#batch-syno">Synopsis</a> </dt> <dt> <a href="#batch-desc">Description</a> </dt> <dt> <a href="#batch-exam">Examples</a> </dt> <dt> <a href="#batch-opti">Options</a> </dt> </dl> </td></tr></table> <table BORDER=0 WIDTH="100%"> <tr> <td ALIGN=LEFT bgcolor="#FFFFFF"><img SRC="images/right_triangle.png" ALT=">" BORDER=0 height=14 width=15><b><font face="Helvetica, Arial"><font color="#00B04F"><font size="+1"> <a NAME="batch-syno"></a>Synopsis </font></font></font></b></td></tr></table> <table width="94%" border="0" cellspacing="0" cellpadding="8"> <tr><td width="3%"><br></td><td> <p> <strong>gm batch</strong> <strong>[</strong> <em>options ...</em> <strong>]</strong> <strong>[</strong> <em>script</em> <strong>]</strong> </td></tr></table> <table BORDER=0 WIDTH="100%"> <tr> <td ALIGN=LEFT bgcolor="#FFFFFF"><img SRC="images/right_triangle.png" ALT=">" BORDER=0 height=14 width=15><b><font face="Helvetica, Arial"><font color="#00B04F"><font size="+1"> <a NAME="batch-desc"></a>Description </font></font></font></b></td></tr></table> <table width="94%" border="0" cellspacing="0" cellpadding="8"> <tr><td width="3%"><br></td><td> <p> <strong>batch</strong> executes an arbitary number of the utility commands (e.g. <strong>convert</strong>) in the form of a simple linear batch script in order to improve execution efficiency, and/or to allow use as a subordinate co-process under the control of an arbitrary script or program. </td></tr></table> <table BORDER=0 WIDTH="100%"> <tr> <td ALIGN=LEFT bgcolor="#FFFFFF"><img SRC="images/right_triangle.png" ALT=">" BORDER=0 height=14 width=15><b><font face="Helvetica, Arial"><font color="#00B04F"><font size="+1"> <a NAME="batch-exam"></a>Examples </font></font></font></b></td></tr></table> <table width="94%" border="0" cellspacing="0" cellpadding="8"> <tr><td width="3%"><br></td><td> <p> To drive <strong>'gm batch'</strong> using a shell script (or a program written in any language), have the script/program send commands to 'gm batch' via its standard input. Specify that standard input should be used by using <strong>'-'</strong> as the file name. The following example converts all files matching '*.jpg' to TIFF format while rotating each file by 90 degrees and stripping all embedded profiles. The shell script syntax is standard Unix shell: <pre> for file in *.jpg do outfile=`basename $file .jpg`.tiff echo convert -verbose "'$file'" -rotate 90 \ +profile "'*'" "'$outfile'" done | gm batch -echo on -feedback on - </pre> <p> We can accomplish the same as the previous example by putting all the commands in a text file and then specifying the name of the text file as the script to execute: <pre> for file in *.jpg do outfile=`basename $file .jpg`.tiff echo convert -verbose "'$file'" -rotate 90 \ +profile "'*'" "'$outfile'" done > script.txt gm batch -echo on -feedback on script.txt </pre> </td></tr></table> <p> <i><a href="#top">Back to Contents</a></i> </p> <table BORDER=0 WIDTH="100%"> <tr> <td ALIGN=LEFT bgcolor="#FFFFFF"><img SRC="images/right_triangle.png" ALT=">" BORDER=0 height=14 width=15><b><font face="Helvetica, Arial"><font color="#00B04F"><font size="+1"> <a NAME="batch-opti"></a>Options </font></font></font></b></td></tr></table> <table width="94%" border="0" cellspacing="0" cellpadding="8"> <tr><td width="3%"><br></td><td> <p> Options are processed from left to right and must appear before any filename argument. <table BORDER=0 WIDTH="94%"> <tr> <td width="3%"><br></td> <td ALIGN=LEFT BGCOLOR="#FFFFFF"> <img SRC="images/right_triangle_option.png" ALT=">" BORDER=0 height=14 width=15><b><font face="Helvetica, Arial" ><font color="#00B04F"><font size="+1"> -echo <i>on|off</i> </font></font></font></b></td></tr></table> <table width="90%" border="0" cellspacing="0" cellpadding="8"> <tr><td width="6%"><br></td><td>command echo on or off</td></tr></table> <p> Specify <strong>on</strong> to enable echoing commands to standard output as they are read or <strong>off</strong> to disable. The default is <strong>off</strong>. <table BORDER=0 WIDTH="94%"> <tr> <td width="3%"><br></td> <td ALIGN=LEFT BGCOLOR="#FFFFFF"> <img SRC="images/right_triangle_option.png" ALT=">" BORDER=0 height=14 width=15><b><font face="Helvetica, Arial" ><font color="#00B04F"><font size="+1"> -escape <i>unix|windows</i> </font></font></font></b></td></tr></table> <table width="90%" border="0" cellspacing="0" cellpadding="8"> <tr><td width="6%"><br></td><td>Parse using unix or windows syntax</td></tr></table> <p> Commands must be parsed from the input stream and escaping needs to be used to protect spaces or quoting characters in the input. Specify <strong>unix</strong> to use unix-style command line parsing or <strong>windows</strong> for Microsoft Windows command shell style parsing. The default depends on if the software is compiled for Microsoft Windows or for a Unix-type system (including Cygwin on Microsoft Windows). It is recommended to use unix syntax because it is more powerful and more portable. <table BORDER=0 WIDTH="94%"> <tr> <td width="3%"><br></td> <td ALIGN=LEFT BGCOLOR="#FFFFFF"> <img SRC="images/right_triangle_option.png" ALT=">" BORDER=0 height=14 width=15><b><font face="Helvetica, Arial" ><font color="#00B04F"><font size="+1"> -fail <i>text</i> </font></font></font></b></td></tr></table> <table width="90%" border="0" cellspacing="0" cellpadding="8"> <tr><td width="6%"><br></td><td>text to print if a command fails</td></tr></table> <p> When feedback is enabled, this specifies the text to print when the command fails. The default text is <strong>FAIL</strong>. <table BORDER=0 WIDTH="94%"> <tr> <td width="3%"><br></td> <td ALIGN=LEFT BGCOLOR="#FFFFFF"> <img SRC="images/right_triangle_option.png" ALT=">" BORDER=0 height=14 width=15><b><font face="Helvetica, Arial" ><font color="#00B04F"><font size="+1"> -feedback <i>on|off</i> </font></font></font></b></td></tr></table> <table width="90%" border="0" cellspacing="0" cellpadding="8"> <tr><td width="6%"><br></td><td>enable error feedback</td></tr></table> <p> Print text (see -pass and -fail options) feedback after each command to indicate the result, the default is <strong>off</strong>. <table BORDER=0 WIDTH="94%"> <tr> <td width="3%"><br></td> <td ALIGN=LEFT BGCOLOR="#FFFFFF"> <img SRC="images/right_triangle_option.png" ALT=">" BORDER=0 height=14 width=15><b><font face="Helvetica, Arial" ><font color="#00B04F"><font size="+1"> -help </font></font></font></b></td></tr></table> <p> Prints batch command help. <table BORDER=0 WIDTH="94%"> <tr> <td width="3%"><br></td> <td ALIGN=LEFT BGCOLOR="#FFFFFF"> <img SRC="images/right_triangle_option.png" ALT=">" BORDER=0 height=14 width=15><b><font face="Helvetica, Arial" ><font color="#00B04F"><font size="+1"> -pass <i>text</i> </font></font></font></b></td></tr></table> <table width="90%" border="0" cellspacing="0" cellpadding="8"> <tr><td width="6%"><br></td><td>text to print if a command passes</td></tr></table> <p> When feedback is enabled, this specifies the text to print when the command passes. The default text is <strong>PASS</strong>. <table BORDER=0 WIDTH="94%"> <tr> <td width="3%"><br></td> <td ALIGN=LEFT BGCOLOR="#FFFFFF"> <img SRC="images/right_triangle_option.png" ALT=">" BORDER=0 height=14 width=15><b><font face="Helvetica, Arial" ><font color="#00B04F"><font size="+1"> -prompt <i>text</i> </font></font></font></b></td></tr></table> <table width="90%" border="0" cellspacing="0" cellpadding="8"> <tr><td width="6%"><br></td><td>Prompt text to use for command line</td></tr></table> <p> If no filename argument was specified, a simple command prompt appears where you may enter GraphicsMagick commands. The default prompt is <strong>GM></strong>. Use this option to change the prompt to something else. <table BORDER=0 WIDTH="94%"> <tr> <td width="3%"><br></td> <td ALIGN=LEFT BGCOLOR="#FFFFFF"> <img SRC="images/right_triangle_option.png" ALT=">" BORDER=0 height=14 width=15><b><font face="Helvetica, Arial" ><font color="#00B04F"><font size="+1"> -stop-on-error <i>on|off</i> </font></font></font></b></td></tr></table> <table width="90%" border="0" cellspacing="0" cellpadding="8"> <tr><td width="6%"><br></td><td>Specify if command processing stops on error</td></tr></table> <p> Normally command processing continues if a command encounters an error. Specify <strong>-stop-on-error on</strong> to cause processing to quit immediately on error. </td></tr></table> <p> <i><a href="#top">Back to Contents</a></i> </p> </td></tr></table>
Close