Script started on Tue Feb 3 09:45:57 2009 pc163-41: ~ $morelsscriptreplayexiftool 20081120_091405.JPG | more lscd Desktop/test/ ls pc163-41: ~ $more Documents/documentation/info/unixhelp [?1h= Recording shell commands and output to a file: bash -i 2>&1 | tee file.txt or $ script Script started, file is typescript ... do whatever ... Ctrl-D $ col -bx savefile $ vi savefile or Emacs: Use M-x shell to start recording into a buffer, and use C-x C-w to write the buffer to a file or screen (man screen) ------------------------------------------------------------------------ kextstat | grep -v apple ------------------------------------------------------------------------ apt-get update (oppdaterer pakkelister og -informasjon) apt-get upgrade (oppgraderer alle pakker med nye versjoner) ------------------------------------------------------------------------ grep "for invalid user admin from" /var/log/secure.log | awk '{ print $1,$2,$3 " " $13}' | sort -u | wc -l ------------------------------------------------------------------------ convert -crop 128x128+48+48 tast2.jpg tast3.jpg montage `ls *JPG` -background black -geometry 198x+4+4 test5.jpg Documents/documentation/info/unixhelp 5%[?1l>pc163-41: ~ $col -bx test.txt pc163-41: ~ $more test.txt [?1h=Script started on Tue Feb 3 09:45:57 2009 CCCCCCCCCCCCClsKKDesktop/test/1120_091405.JPG | more pc163-41: ~ $more Documents/documentation/info/unixhelp ?1h45;1HK Recording shell commands and output to a file: bash -i 2>&1 | tee file.txt or $ script Script started, file is typescript ... do whatever ... Ctrl-D $ col -bx savefile $ vi savefile or Emacs: Use M-x shell to start recording into a buffer, and use C-x C-w to write the buffer to a file or screen (man screen) ------------------------------------------------------------------------ kextstat | grep -v apple ------------------------------------------------------------------------ apt-get update (oppdaterer pakkelister og -informasjon) apt-get upgrade (oppgraderer alle pakker med nye versjoner) ------------------------------------------------------------------------ grep "for invalid user admin from" /var/log/secure.log | awk '{ print $1,$2,$3 " " $13}' | sort -u | wc -l ------------------------------------------------------------------------ convert -crop 128x128+48+48 tast2.jpg tast3.jpg test.txt 88% montage `ls *JPG` -background black -geometry 198x+4+4 test5.jpg 45;1HK7mDocuments/documentation/info/unixhelp 5%27m45;1HK?1lpc163-41: ~ $ (END) [?1l>pc163-41: ~ $sudo su Password: sh-3.2# cd /usr/local/ sh-3.2# ls .DS_Store info .my.cnf.763 lib .my.cnf.774 libexec .mysql.763 man .mysql.774 mysql ImageMagick-6.4.0 mysql-max-5.0.22-osx10.4-powerpc OpenSourceLicenses share OpenSourceVersions src bin texlive etc var include sh-3.2# cd /usr sh-3.2# ls X11 bin lib local share X11R6 include libexec sbin standalone sh-3.2# mkdir local cd local sh-3.2# pwd /usr/local sh-3.2# rm -r ImageMagick-6.4.0/ sh-3.2# mv ~borrel/ sh-3.2# mv /Users/borrel/Downloads/ImageMagick-6.4.8/ . sh-3.2# ls .DS_Store info .my.cnf.763 lib .my.cnf.774 libexec .mysql.763 man .mysql.774 mysql ImageMagick-6.4.8 mysql-max-5.0.22-osx10.4-powerpc OpenSourceLicenses share OpenSourceVersions src bin texlive etc var include sh-3.2# ls .DS_Store info .my.cnf.763 lib .my.cnf.774 libexec .mysql.763 man .mysql.774 mysql ImageMagick-6.4.8 mysql-max-5.0.22-osx10.4-powerpc OpenSourceLicenses share OpenSourceVersions src bin texlive etc var include sh-3.2# exitid uid=0(root) gid=0(wheel) groups=0(wheel),1(daemon),2(kmem),8(procview),29(certusers),3(sys),9(procmod),4(tty),5(operator),80(admin),20(staff),101(com.apple.sharepoint.group.1) sh-3.2# exit exit pc163-41: ~ $id uid=503(borrel) gid=20(staff) groups=20(staff),98(_lpadmin),81(_appserveradm),79(_appserverusr),80(admin),101(com.apple.sharepoint.group.1) pc163-41: ~ $set | more [?1h=Apple_PubSub_Socket_Render=/tmp/launch-YwtfSz/Render BASH=/bin/bash BASH_ARGC=() BASH_ARGV=() BASH_LINENO=() BASH_SOURCE=() BASH_VERSINFO=([0]="3" [1]="2" [2]="17" [3]="1" [4]="release" [5]="powerpc-apple-darwin9. 0") BASH_VERSION='3.2.17(1)-release' COLUMNS=89 DIRSTACK=() DISPLAY=/tmp/launch-gNd7Iu/:0 DYLD_LIBRARY_PATH=/usr/local/ImageMagick-6.4.0/lib EDITOR=emacs EUID=503 FTP_PROXY= GROUPS=() HISTFILE=/Users/borrel/.bash_history HISTFILESIZE=1000 HISTSIZE=1000 HOME=/Users/borrel HOSTNAME=pc165-150.hiof.no HOSTTYPE=powerpc HTTP_PROXY= IFS=$' \t\n' LC_CTYPE=en_US.UTF-8 LD_LIBRARY_PATH='$MAGICK_HOME/lib:/usr/local/lib/' LINES=45 LOGNAME=borrel MACHTYPE=powerpc-apple-darwin9.0 MAGICK_HOME=/usr/local/ImageMagick-6.4.0 MAILCHECK=60 MANPATH=/sw/share/man:/usr/share/man:/usr/X11R6/man:/usr/local/man NNTPSERVER=nntp-oslo.uninett.no OPTERR=1 OPTIND=1 OSTYPE=darwin9.0 PATH='/usr/sbin:/usr/local/sbin:/etc:/usr/etc:/sbin:/usr/bin:/bin:/usr/bin/X11:/usr/local /bin:/usr/local/jdk/bin:/Users/borrel/bin:/usr/X11R6/bin:/sw:/sw/bin:/Library/MySQL/bin:/ sw/share:/sw/bootstrap/bin:./:/usr/texbin:/usr/local/texlive/2007:$HOME/Library/texmf:/us r/local/ImageMagick-6.4.0/bin:/usr/local/ImageMagick-6.4.0/lib' PGPPATH=/usr/people/borrel/pgp PIPESTATUS=([0]="0") PPID=58414 byte 1265PS1='\h: \W $' PS2='> ' PS4='+ ' PWD=/Users/borrel SHELL=/bin/bash SHELLOPTS=braceexpand:emacs:hashall:histexpand:history:interactive-comments:monitor SHLVL=7 SSH_AUTH_SOCK=/tmp/launch-wM4xSb/Listeners TERM=xterm TEXMFLOCAL='$HOME/Library/texmf' TMPDIR=/var/folders/QB/QBr1tk4+FUOX3ALmfFPsT++++TQ/-Tmp-/ UID=503 USER=borrel VISUAL=emacs WINDOWID=6291469 XAUTHORITY=/Users/borrel/.Xauthority XTERM_LOCALE=en_US.UTF-8 XTERM_SHELL=/bin/bash XTERM_VERSION='X.Org 6.8.99.903(235)' _=id __CF_USER_TEXT_ENCODING=0x1F7:0:0 abdallah=abdallah.hiof.no aisha=aisha.hiof.no almashriq=almashriq.hiof.no ftp_proxy= http_proxy= khadija=85.255.34.88 lutfallah=lutfallah.hiof.no (END) [?1l>pc163-41: ~ $cd pc163-41: ~ $ls #test.html# .fontconfig/ .viminfo #test.txt# .freemind/ .vimrc ./ .gnupg/ .xdvirc ../ .gvimrc .xdvirc-old .CFUserTextEncoding .gvimrc~ .xinitrc.old .DS_Store .gyzpfbcrc* .xinitrc~ .Koala/ .lesshst 20090203.txt .TemporaryItems/ .mailcap Desktop/ .Trash/ .mime.types Documents/ .Xauthority .profile Downloads/ .adobe/ .serverauth.156 Library/ .bash_history .serverauth.187 Movies/ .bash_profile@ .serverauth.198 Music/ .bashrc .serverauth.299 Pictures/ .bashrc-2 .serverauth.325 Private/ .bashrc-2~ .serverauth.597 Public/ .bashrc~ .serverauth.8507 Sites/ .cups/ .sh_history bin/ .cvspass .ssh/ design.bib .dvdcss/ .subversion/ kursstartit.html .emacs .sversionrc q.log .emacs-places .termcap test/ .emacs-places~ .texmf-config/ test.txt .emacs.d/ .texmf-var/ tmp.txt .emacs~ .tramp.eld typescript pc163-41: ~ $curl -O http://abdallah.hiof.no/dmpro/digdik-2009/dot-bashrc % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 328 100 328 0 0 21569 0 --:--:-- --:--:-- --:--:-- 21569 100 328 100 328 0 0 20347 0 --:--:-- --:--:-- --:--:-- 0 pc163-41: ~ $more dot-bashrc [?1h= 404 Not Found

Not Found

The requested URL /dmpro/digdik-2009/dot-bashrc was not found on this server.


Apache/2.2.4 (Ubuntu) PHP/5.2.3-1ubuntu6.4 Server at abdallah.hiof.no Port 80 dot-bashrc (END) [?1l>pc163-41: ~ $more dot-bashrc curl -O http://abdallah.hiof.no/dmpro/digdik-2009/dot-bashrck-2009/dot-bashrcok-2009/dot-bashrc % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 50 2274 50 1179 0 0 332k 0 --:--:-- --:--:-- --:--:-- 332k 100 2274 100 2274 0 0 495k 0 --:--:-- --:--:-- --:--:-- 1069k pc163-41: ~ $curl -O http://abdallah.hiof.no/dmpro/digdok-2009/dot-bashrc more dot-bashrc  [?1h=# # Dette er en eksempel .bashrc-fil som brukes av shellet # når det starter bash. # Kopier denne til dit hjemmeområde og endre navnet # til ".bashrc" # Under OS X må .bashrc linkes til .bashrc_profile for # at programmet Terminal skal finne den. # Linket lages slik: # # ln -s .bashrc .bashrc_profile # # Filen can så endres etter behov. # # This is the default standard .cshrc provided to csh users. # They are expected to edit it to meet their own needs. # # The commands in this file are executed each time a new bash shell # is started. # # $Revision: 1.7 $ # # TEXMFMAIN='/usr/local/texlive/2007' TEXMFLOCAL='$HOME/Library/texmf' # MAGICK_HOME='/usr/local/ImageMagick-6.4.8' # PGPPATH='/usr/people/borrel/pgp' EDITOR=emacs VISUAL=emacs # LD_LIBRARY_PATH='$MAGICK_HOME/lib:/usr/local/lib/' LD_LIBRARY_PATH='/usr/local/lib/' DYLD_LIBRARY_PATH="$MAGICK_HOME/lib" # DISPLAY=:0 PATH=/usr/sbin:/usr/local/sbin:/etc:/usr/etc PATH=$PATH:/sbin:/usr/bin:/bin:/usr/bin/X11:/usr/local/bin:/usr/local/jdk/bin PATH=$PATH:$HOME/bin:/usr/X11R6/bin PATH=$PATH:/Library/MySQL/bin PATH=$PATH:./:/usr/texbin:/usr/local/texlive/2007:$TEXMFLOCAL PATH=$PATH:$MAGICK_HOME/bin:$MAGICK_HOME/lib PATH=$PATH:/opt/local/share:/opt/local/bin:opt/local/lib MANPATH=/opt/local/share/man:/usr/share/man:/usr/X11R6/man:/usr/local/man HISTSIZE=1000 dot-bashrc 58%[?1l>pc163-41: ~ $more dot-bashrc pc163-41: ~ $ls /usr/local/ ./ include/ ../ info/ .DS_Store lib/ .my.cnf.763 libexec/ .my.cnf.774 man/ .mysql.763 mysql/ .mysql.774 mysql-max-5.0.22-osx10.4-powerpc/ ImageMagick-6.4.8/ share/ OpenSourceLicenses/ src/ OpenSourceVersions/ texlive/ bin/ var/ etc/ pc163-41: ~ $mv dot-bashrc .bashrc pc163-41: ~ $ pc163-41: ~ $ pc163-41: ~ $ pc163-41: ~ $ pc163-41: ~ $ pc163-41: ~ $ pc163-41: ~ $ pc163-41: ~ $ pc163-41: ~ $ pc163-41: ~ $ pc163-41: ~ $mv dot-bashrc .bashrc pc163-41: ~ $source .bashrc bash: settings: command not found pc163-41: ~ $ convert Version: ImageMagick 6.3.3 03/06/07 Q16 http://www.imagemagick.org Copyright: Copyright (C) 1999-2007 ImageMagick Studio LLC Usage: convert [options ...] file [ [options ...] file ...] [options ...] file Image Settings: -adjoin join images into a single multi-image file -affine matrix affine transform matrix -antialias remove pixel-aliasing -authenticate value decrypt image with this password -background color background color -bias value add bias when convolving an image -black-point-compensation use black point compensation -blue-primary point chromaticity blue primary point -bordercolor color border color -caption string assign a caption to an image -channel type apply option to select image channels -colors value preferred number of colors in the image -colorspace type alternate image colorspace -comment string annotate image with comment -compose operator set image composite operator -compress type type of pixel compression when writing the image -debug events display copious debugging information -define format:option define one or more image format options -delay value display the next image after pausing -density geometry horizontal and vertical density of the image -depth value image depth -display server get image or font from this X server -dispose method GIF disposal method -dither apply Floyd/Steinberg error diffusion to image -encoding type text encoding type -endian type endianness (MSB or LSB) of the image -family name render text with this font family -fill color color to use when filling a graphic primitive -filter type use this filter when resizing an image -font name render text with this font -format "string" output formatted image characteristics -fuzz distance colors within this distance are considered equal -gravity type horizontal and vertical text placement -green-primary point chromaticity green primary point -intent type type of rendering intent when managing the image color -interlace type type of image interlacing scheme -interpolate method pixel color interpolation method -label string assign a label to an image -limit type value pixel cache resource limit -log format format of debugging information -loop iterations add Netscape loop extension to your GIF animation -mask filename associate a mask with the image -matte store matte channel if the image has one -mattecolor color frame color -monitor monitor progress -orient type image orientation -origin geometry image origin -page geometry size and location of an image canvas (setting) -ping efficiently determine image attributes -pointsize value font point size -preview type image preview type -quality value JPEG/MIFF/PNG compression level -quiet suppress all error or warning messages -red-primary point chromaticity red primary point -regard-warnings pay attention to warning messages -sampling-factor geometry horizontal and vertical sampling factor -scene value image scene number -seed value pseudo-random number generator seed value -size geometry width and height of image -stretch type render text with this font stretch -stroke color graphic primitive stroke color -strokewidth value graphic primitive stroke width -style type render text with this font style -support factor resize support: > 1.0 is blurry, < 1.0 is sharp -taint image as ineligible for bi-modal delegate -texture filename name of texture to tile onto the image background -treedepth value color tree depth -transparent-color color transparent color -undercolor color annotation bounding box color -units type the units of image resolution -verbose print detailed information about the image -view FlashPix viewing transforms -virtual-pixel method virtual pixel access method -weight type render text with this font weight -white-point point chromaticity white point Image Operators: -adaptive-blur geometry adaptively blur pixels; decrease effect near edges -adaptive-resize geometry adaptively resize image with data dependent triangulation -adaptive-sharpen geometry adaptively sharpen pixels; increase effect near edges -annotate geometry text annotate the image with text -auto-orient automatically orient image -black-threshold value force all pixels below the threshold into black -blur geometry reduce image noise and reduce detail levels -border geometry surround image with a border of color -charcoal radius simulate a charcoal drawing -chop geometry remove pixels from the image interior -clip clip along the first path from the 8BIM profile -clip-mask filename associate a clip mask with the image -clip-path id clip along a named path from the 8BIM profile -colorize value colorize the image with the fill color -contrast enhance or reduce the image contrast -contrast-stretch geometry improve contrast by `stretching' the intensity range -convolve coefficients apply a convolution kernel to the image -cycle amount cycle the image colormap -despeckle reduce the speckles within an image -draw string annotate the image with a graphic primitive -edge radius apply a filter to detect edges in the image -emboss radius emboss an image -enhance apply a digital filter to enhance a noisy image -equalize perform histogram equalization to an image -evaluate operator value evaluate an arithmetic, relational, or logical expression -extent geometry set the image size -extract geometry extract area from image -flip flip image vertically -floodfill geometry color floodfill the image with color -flop flop image horizontally -frame geometry surround image with an ornamental border -gamma value level of gamma correction -gaussian-blur geometry reduce image noise and reduce detail levels -geometry geometry perferred size or location of the image -help print program options -identify identify the format and characteristics of the image -implode amount implode image pixels about the center -lat geometry local adaptive thresholding -layers method optimize or compare image layers -level value adjust the level of image contrast -linear-stretch geometry improve contrast by `stretching with saturation' the intensity range -median radius apply a median filter to the image -modulate value vary the brightness, saturation, and hue -monochrome transform image to black and white -motion-blur geometry simulate motion blur -negate replace every pixel with its complementary color -noise radius add or reduce noise in an image -normalize transform image to span the full range of colors -opaque color change this color to the fill color -ordered-dither NxN add a noise pattern to the image with specific amplitudes -paint radius simulate an oil painting -polaroid angle simulate a Polaroid picture -posterize levels reduce the image to a limited number of color levels -print string interpret string and print to console -profile filename add, delete, or apply an image profile -quantize colorspace reduce colors in this colorspace -radial-blur angle radial blur the image -raise value lighten/darken image edges to create a 3-D effect -random-threshold low,high random threshold the image -recolor matrix translate, scale, shear, or rotate image colors -region geometry apply options to a portion of the image -render render vector graphics -repage geometry size and location of an image canvas -resample geometry change the resolution of an image -resize geometry resize the image -roll geometry roll an image vertically or horizontally -rotate degrees apply Paeth rotation to the image -sample geometry scale image with pixel sampling -scale geometry scale the image -segment values segment an image -sepia-tone threshold simulate a sepia-toned photo -set property value set an image property -shade degrees shade the image using a distant light source -shadow geometry simulate an image shadow -sharpen geometry sharpen the image -shave geometry shave pixels from the image edges -shear geometry slide one edge of the image along the X or Y axis -sigmoidal-contrast geometry lightness rescaling using sigmoidal contrast enhancement -sketch geometry simulate a pencil sketch -solarize threshold negate all pixels above the threshold level -splice geometry splice the background color into the image -spread amount displace image pixels by a random amount -strip strip image of all profiles and comments -swirl degrees swirl image pixels about the center -threshold value threshold the image -thumbnail geometry create a thumbnail of the image -tile filename tile image when filling a graphic primitive -tint value tint the image with the fill color -transform affine transform image -transparent color make this color transparent within the image -transpose flip image vertically and rotate 90 degrees -transverse flop image horizontally and rotate 270 degrees -trim trim image edges -type type image type -unique-colors discard all but one of any pixel color -unsharp geometry sharpen the image -version print version information -vignette geometry soften the edges of the image in vignette style -wave geometry alter an image along a sine wave -white-threshold value force all pixels above the threshold into white Image Sequence Operators: -append append an image sequence -average average an image sequence -coalesce merge a sequence of images -combine combine a sequence of images -composite composite image -crop geometry cut out a rectangular region of the image -deconstruct break down an image sequence into constituent parts -flatten flatten a sequence of images -fx expression apply mathematical expression to an image channel(s) -map filename transform image colors to match this set of colors -morph value morph an image sequence -mosaic create a mosaic from an image sequence -process arguments process the image with a custom image filter -separate separate an image channel into a grayscale image -write filename write images to this file Image Stack Operators: -clone index clone an image -delete index delete the image from the image sequence -insert index insert last image into the image sequence -swap indexes swap two images in the image sequence By default, the image format of `file' is determined by its magic number. To specify a particular image format, precede the filename with an image format name and a colon (i.e. ps:image) or specify the image type as the filename suffix (i.e. image.ps). Specify 'file' as '-' for standard input or output. pc163-41: ~ $ pc163-41: ~ $ cd test pc163-41: test $ ls ./ .DS_Store test.mp3 ../ jpeg/ x3f/ pc163-41: test $ cd jpeg/ pc163-41: jpeg $ ls ./ 20090129_102500.jpg 20090129_102803.jpg ../ 20090129_102603.jpg 20090129_102837.jpg 20090129-tracks.gpx 20090129_102628.jpg 20090129_102850.jpg 20090129_102419.jpg 20090129_102641.jpg en.txt 20090129_102425.jpg 20090129_102653.jpg skoletest/ 20090129_102433.jpg 20090129_102705.jpg skoletest.tar 20090129_102443.jpg 20090129_102719.jpg to.txt 20090129_102454.jpg 20090129_102750.jpg tre.txt pc163-41: jpeg $ convert 20090129_102419.jpg 20090129_102419.jpg tif convert: 20090129_102419.tif: Unknown pseudo-tag 65537. `TIFFSetField'. convert: 20090129_102419.tif: Unknown pseudo-tag 65538. `TIFFSetField'. pc163-41: jpeg $ convert -geometry 800 20090129_102419.jpg 20090129_102419.jpg-.jpg8.jpg0.jpg0.jpg pc163-41: jpeg $ convert -h Version: ImageMagick 6.3.3 03/06/07 Q16 http://www.imagemagick.org Copyright: Copyright (C) 1999-2007 ImageMagick Studio LLC Usage: convert [options ...] file [ [options ...] file ...] [options ...] file Image Settings: -adjoin join images into a single multi-image file -affine matrix affine transform matrix -antialias remove pixel-aliasing -authenticate value decrypt image with this password -background color background color -bias value add bias when convolving an image -black-point-compensation use black point compensation -blue-primary point chromaticity blue primary point -bordercolor color border color -caption string assign a caption to an image -channel type apply option to select image channels -colors value preferred number of colors in the image -colorspace type alternate image colorspace -comment string annotate image with comment -compose operator set image composite operator -compress type type of pixel compression when writing the image -debug events display copious debugging information -define format:option define one or more image format options -delay value display the next image after pausing -density geometry horizontal and vertical density of the image -depth value image depth -display server get image or font from this X server -dispose method GIF disposal method -dither apply Floyd/Steinberg error diffusion to image -encoding type text encoding type -endian type endianness (MSB or LSB) of the image -family name render text with this font family -fill color color to use when filling a graphic primitive -filter type use this filter when resizing an image -font name render text with this font -format "string" output formatted image characteristics -fuzz distance colors within this distance are considered equal -gravity type horizontal and vertical text placement -green-primary point chromaticity green primary point -intent type type of rendering intent when managing the image color -interlace type type of image interlacing scheme -interpolate method pixel color interpolation method -label string assign a label to an image -limit type value pixel cache resource limit -log format format of debugging information -loop iterations add Netscape loop extension to your GIF animation -mask filename associate a mask with the image -matte store matte channel if the image has one -mattecolor color frame color -monitor monitor progress -orient type image orientation -origin geometry image origin -page geometry size and location of an image canvas (setting) -ping efficiently determine image attributes -pointsize value font point size -preview type image preview type -quality value JPEG/MIFF/PNG compression level -quiet suppress all error or warning messages -red-primary point chromaticity red primary point -regard-warnings pay attention to warning messages -sampling-factor geometry horizontal and vertical sampling factor -scene value image scene number -seed value pseudo-random number generator seed value -size geometry width and height of image -stretch type render text with this font stretch -stroke color graphic primitive stroke color -strokewidth value graphic primitive stroke width -style type render text with this font style -support factor resize support: > 1.0 is blurry, < 1.0 is sharp -taint image as ineligible for bi-modal delegate -texture filename name of texture to tile onto the image background -treedepth value color tree depth -transparent-color color transparent color -undercolor color annotation bounding box color -units type the units of image resolution -verbose print detailed information about the image -view FlashPix viewing transforms -virtual-pixel method virtual pixel access method -weight type render text with this font weight -white-point point chromaticity white point Image Operators: -adaptive-blur geometry adaptively blur pixels; decrease effect near edges -adaptive-resize geometry adaptively resize image with data dependent triangulation -adaptive-sharpen geometry adaptively sharpen pixels; increase effect near edges -annotate geometry text annotate the image with text -auto-orient automatically orient image -black-threshold value force all pixels below the threshold into black -blur geometry reduce image noise and reduce detail levels -border geometry surround image with a border of color -charcoal radius simulate a charcoal drawing -chop geometry remove pixels from the image interior -clip clip along the first path from the 8BIM profile -clip-mask filename associate a clip mask with the image -clip-path id clip along a named path from the 8BIM profile -colorize value colorize the image with the fill color -contrast enhance or reduce the image contrast -contrast-stretch geometry improve contrast by `stretching' the intensity range -convolve coefficients apply a convolution kernel to the image -cycle amount cycle the image colormap -despeckle reduce the speckles within an image -draw string annotate the image with a graphic primitive -edge radius apply a filter to detect edges in the image -emboss radius emboss an image -enhance apply a digital filter to enhance a noisy image -equalize perform histogram equalization to an image -evaluate operator value evaluate an arithmetic, relational, or logical expression -extent geometry set the image size -extract geometry extract area from image -flip flip image vertically -floodfill geometry color floodfill the image with color -flop flop image horizontally -frame geometry surround image with an ornamental border -gamma value level of gamma correction -gaussian-blur geometry reduce image noise and reduce detail levels -geometry geometry perferred size or location of the image -help print program options -identify identify the format and characteristics of the image -implode amount implode image pixels about the center -lat geometry local adaptive thresholding -layers method optimize or compare image layers -level value adjust the level of image contrast -linear-stretch geometry improve contrast by `stretching with saturation' the intensity range -median radius apply a median filter to the image -modulate value vary the brightness, saturation, and hue -monochrome transform image to black and white -motion-blur geometry simulate motion blur -negate replace every pixel with its complementary color -noise radius add or reduce noise in an image -normalize transform image to span the full range of colors -opaque color change this color to the fill color -ordered-dither NxN add a noise pattern to the image with specific amplitudes -paint radius simulate an oil painting -polaroid angle simulate a Polaroid picture -posterize levels reduce the image to a limited number of color levels -print string interpret string and print to console -profile filename add, delete, or apply an image profile -quantize colorspace reduce colors in this colorspace -radial-blur angle radial blur the image -raise value lighten/darken image edges to create a 3-D effect -random-threshold low,high random threshold the image -recolor matrix translate, scale, shear, or rotate image colors -region geometry apply options to a portion of the image -render render vector graphics -repage geometry size and location of an image canvas -resample geometry change the resolution of an image -resize geometry resize the image -roll geometry roll an image vertically or horizontally -rotate degrees apply Paeth rotation to the image -sample geometry scale image with pixel sampling -scale geometry scale the image -segment values segment an image -sepia-tone threshold simulate a sepia-toned photo -set property value set an image property -shade degrees shade the image using a distant light source -shadow geometry simulate an image shadow -sharpen geometry sharpen the image -shave geometry shave pixels from the image edges -shear geometry slide one edge of the image along the X or Y axis -sigmoidal-contrast geometry lightness rescaling using sigmoidal contrast enhancement -sketch geometry simulate a pencil sketch -solarize threshold negate all pixels above the threshold level -splice geometry splice the background color into the image -spread amount displace image pixels by a random amount -strip strip image of all profiles and comments -swirl degrees swirl image pixels about the center -threshold value threshold the image -thumbnail geometry create a thumbnail of the image -tile filename tile image when filling a graphic primitive -tint value tint the image with the fill color -transform affine transform image -transparent color make this color transparent within the image -transpose flip image vertically and rotate 90 degrees -transverse flop image horizontally and rotate 270 degrees -trim trim image edges -type type image type -unique-colors discard all but one of any pixel color -unsharp geometry sharpen the image -version print version information -vignette geometry soften the edges of the image in vignette style -wave geometry alter an image along a sine wave -white-threshold value force all pixels above the threshold into white Image Sequence Operators: -append append an image sequence -average average an image sequence -coalesce merge a sequence of images -combine combine a sequence of images -composite composite image -crop geometry cut out a rectangular region of the image -deconstruct break down an image sequence into constituent parts -flatten flatten a sequence of images -fx expression apply mathematical expression to an image channel(s) -map filename transform image colors to match this set of colors -morph value morph an image sequence -mosaic create a mosaic from an image sequence -process arguments process the image with a custom image filter -separate separate an image channel into a grayscale image -write filename write images to this file Image Stack Operators: -clone index clone an image -delete index delete the image from the image sequence -insert index insert last image into the image sequence -swap indexes swap two images in the image sequence By default, the image format of `file' is determined by its magic number. To specify a particular image format, precede the filename with an image format name and a colon (i.e. ps:image) or specify the image type as the filename suffix (i.e. image.ps). Specify 'file' as '-' for standard input or output. pc163-41: jpeg $ convert -crop 128x128+48+48 20090129_102419-800.jpg test.jpg pc163-41: jpeg $ convert -crop 128x128+48+48 20090129_102419-800.jpg test.jpg[1@ [1@-[1@g[1@r[1@a[1@v[1@i[1@t[1@y[1@ [1@c[1@e[1@n[1@t[1@e[1@r pc163-41: jpeg $ echo "det virket ikke" etter hensikten" det virket ikke etter hensikten pc163-41: jpeg $ convert 20090129_102419-800.jpg -gravity southeast -fill white -pointsiz e 20 -annotate +20+20 'Forfatografen' test.jpg pc163-41: jpeg $ ls /usr/local/iImageMagick-6.4.8/bin/ ./ Wand-config* display* ../ animate* identify* Magick++-config* compare* import* Magick-config* composite* mogrify* MagickCore-config* conjure* montage* MagickWand-config* convert* stream* pc163-41: jpeg $ ls *jpg 20090129_102419.jpg 20090129_102603.jpg 20090129_102750.jpg 20090129_102425.jpg 20090129_102628.jpg 20090129_102803.jpg 20090129_102433.jpg 20090129_102641.jpg 20090129_102837.jpg 20090129_102443.jpg 20090129_102653.jpg 20090129_102850.jpg 20090129_102454.jpg 20090129_102705.jpg 20090129_102500.jpg 20090129_102719.jpg pc163-41: jpeg $ LS ls *JPG ls: *JPG: No such file or directory pc163-41: jpeg $ montage `ls *jpg` -background black white -shadow -geometry 128x+4+4 test1.jpg montage: unrecognized option `-white'. pc163-41: jpeg $ montage `ls *jpg` -white -shadow -geometry 128x+4+4 test1.jpg [1@-[1@b[1@a[1@c[1@k[1@g[1@r[1@o[1@u[1@nd-white -shadow -geometry 128x+4+4 test1.jpg  -white -shadow -geometry 128x+4+4 test1.jpg g montage: unrecognized color `-white'. pc163-41: jpeg $ montage `ls *jpg` -background -white -shadow -geometry 128x+4+4 test1.jpg gwhite -shadow -geometry 128x+4+4 test1.jpg  pc163-41: jpeg $ mkdir 800 pc163-41: jpeg $ rm test1.jpg pc163-41: jpeg $ convert `ls *jpg'` -GEOMETRY[1@ [1@-[1@g[1@e[1@m[1@o[1@m[1@e[1@t[1@r[1@y[1@ [1@8[1@0[1@0[1@x pc163-41: jpeg $ emals *jpg > t,mp.txt pc163-41: jpeg $ emacs tmp.txt [?1049h[?12;25h[?1h=[?25l----:---F1 *scratch*  All L1 (Fundamental)-------------------------------------- [?12l[?25h[?12;25h[?25lLoading encoded-kb...[?12l[?25h[?12;25h[?25ldone[?12l[?25h[?12;25h[?1l>[?12l[?25h[?1049l [?1049h[?12;25h[?1h=[?1l>[?12l[?25h[?1049l [?1049h[?12;25h[?1h=[?1l>[?12l[?25h[?1049l [?1049h[?12;25h[?1h=[?25lLoading edmacro... [?12l[?25h[?12;25h[?25ldone [?12l[?25h[?12;25h[?25lparen... [?12l[?25h[?12;25h[?25ldone [?12l[?25h[?12;25h[?25ladvice... [?12l[?25h[?12;25h[?25ldone [?12l[?25h[?12;25h[?25lplaces from /Users/borrel/.emacs-places... [?12l[?25h[?12;25h[?25ldone [?12l[?25h[?12;25h[?25lFor information about the GNU Project and its goals, type C-h C-p. [?12l[?25h[?12;25h[?25lFor information about the GNU Project and its goals, type C-h C-p.File Edit Options Buffers Tools Help   20090129_102419.jpg 20090129_102603.jpg 20090129_102750.jpg 20090129_102425.jpg 20090129_102628.jpg 20090129_102803.jpg 20090129_102433.jpg 20090129_102641.jpg 20090129_102837.jpg 20090129_102443.jpg 20090129_102653.jpg 20090129_102850.jpg 20090129_102454.jpg 20090129_102705.jpg 20090129_102500.jpg 20090129_102719.jpg                                     -uu-:---F1 tmp.txt  All L1 (Text Fill)---------------------------------------- [?12l[?25h[?12;25h[?25l(No files need saving) [?12l[?25h[?12;25h[?25lSaving places to /Users/borrel/.emacs-places... [?12l[?25h[?12;25h[?25lWrote /Users/borrel/.emacs-places [?12l[?25h[?12;25h[?25lSaving places to /Users/borrel/.emacs-places...done [?12l[?25h[?12;25h[?1l>[?12l[?25h[?1049l pc163-41: jpeg $ emacs tmp.txt[4@ls *jpg >[1@ [1@-[1@1 pc163-41: jpeg $ ls -1 *jpg > tmp.txt emacs [?1049h[?12;25h[?1h=[?25l----:---F1 *scratch*  All L1 (Fundamental)-------------------------------------- [?12l[?25h[?12;25h[?25lLoading encoded-kb...[?12l[?25h[?12;25h[?25ldone[?12l[?25h[?12;25h[?1l>[?12l[?25h[?1049l [?1049h[?12;25h[?1h=[?1l>[?12l[?25h[?1049l [?1049h[?12;25h[?1h=[?1l>[?12l[?25h[?1049l [?1049h[?12;25h[?1h=[?25lLoading edmacro... [?12l[?25h[?12;25h[?25ldone [?12l[?25h[?12;25h[?25lparen... [?12l[?25h[?12;25h[?25ldone [?12l[?25h[?12;25h[?25ladvice... [?12l[?25h[?12;25h[?25ldone [?12l[?25h[?12;25h[?25lplaces from /Users/borrel/.emacs-places... [?12l[?25h[?12;25h[?25ldone [?12l[?25h[?12;25h[?25lFor information about the GNU Project and its goals, type C-h C-p. [?12l[?25h[?12;25h[?25lFor information about the GNU Project and its goals, type C-h C-p.File Edit Options Buffers Tools Help   20090129_102419.jpg 20090129_102425.jpg 20090129_102433.jpg 20090129_102443.jpg 20090129_102454.jpg 20090129_102500.jpg 20090129_102603.jpg 20090129_102628.jpg 20090129_102641.jpg 20090129_102653.jpg 20090129_102705.jpg 20090129_102719.jpg 20090129_102750.jpg 20090129_102803.jpg 20090129_102837.jpg 20090129_102850.jpg                           -uu-:---F1 tmp.txt  All L1 (Text Fill)---------------------------------------- [?12l[?25h[?12;25h[?25l** [?12l[?25h[?12;25h[?25lDefining kbd macro... [?12l[?25h[?12;25h[?25l Def) [?12l[?25h[?12;25h[?25l[1@c[?12l[?25h[?12;25h[?25l[1@o[?12l[?25h[?12;25h[?25l[1@n[?12l[?25h[?12;25h[?25l[1@v[?12l[?25h[?12;25h[?25l[1@e[?12l[?25h[?12;25h[?25l[1@r[?12l[?25h[?12;25h[?25l[1@t[?12l[?25h[?12;25h[?25l[1@ [?12l[?25h[?12;25h[?25l[1@-[?12l[?25h[?12;25h[?25l[1@g[?12l[?25h[?12;25h[?25l[1@e[?12l[?25h[?12;25h[?25l[1@m[?12l[?25h[?12;25h[?25l[?12l[?25h[?12;25h[?25l[1@o[?12l[?25h[?12;25h[?25l[1@m[?12l[?25h[?12;25h[?25l[1@t[?12l[?25h[?12;25h[?25l[?12l[?25h[?12;25h[?25l[1@e[?12l[?25h[?12;25h[?25l[1@t[?12l[?25h[?12;25h[?25l[1@r[?12l[?25h[?12;25h[?25l[1@y[?12l[?25h[?12;25h[?25l[1@ [?12l[?25h[?12;25h[?25l[1@8[?12l[?25h[?12;25h[?25l[1@0[?12l[?25h[?12;25h[?25l[1@0[?12l[?25h[?12;25h[?25l[1@x[?12l[?25h[?12;25h[?25l[1@ [?12l[?25h[?12;25h[?25lMark set[?12l[?25h[?12;25h[?25l20090129_102425.jpg[?12l[?25h[?12;25h[?25l20090129_102425.jpg[?12l[?25h[?12;25h[?25l.[?12l[?25h[?12;25h[?25l/[?12l[?25h[?12;25h[?25l8[?12l[?25h[?12;25h[?25l0[?12l[?25h[?12;25h[?25l0[?12l[?25h[?12;25h[?25l/[?12l[?25h[?12;25h[?25lMark set[?12l[?25h[?12;25h[?25l20090129_102425.jpg[?12l[?25h[?12;25h[?25l2 [?12l[?25h[?12;25h[?25lKeyboard macro defined [?12l[?25h[?12;25h[?25l)---- [?12l[?25h[?12;25h[?25lC-u [?12l[?25h[?12;25h[?25l- [?12l[?25h[?12;25h[?25l 8 [?12l[?25h[?12;25h[?25l- [?12l[?25h[?12;25h[?25l C-x [?12l[?25h[?12;25h[?25l- [?12l[?25h[?12;25h[?25l e [?12l[?25h[?12;25h[?25l(Type e to repeat macro) [?12l[?25h[?12;25h[?25l[49@convert -geometry 800x 20090129_102433.jpg ./800/ [49@convert -geometry 800x 20090129_102443.jpg ./800/ [49@convert -geometry 800x 20090129_102454.jpg ./800/ [49@convert -geometry 800x 20090129_102500.jpg ./800/ [49@convert -geometry 800x 20090129_102603.jpg ./800/ [49@convert -geometry 800x 20090129_102628.jpg ./800/ [49@convert -geometry 800x 20090129_102641.jpg ./800/ [49@convert -geometry 800x 20090129_102653.jpg ./800/10[?12l[?25h[?12;25h[?25lAfter 6 kbd macro iterations: End of buffer[49@convert -geometry 800x 20090129_102705.jpg ./800/ [49@convert -geometry 800x 20090129_102719.jpg ./800/ [49@convert -geometry 800x 20090129_102750.jpg ./800/ [49@convert -geometry 800x 20090129_102803.jpg ./800/ [49@convert -geometry 800x 20090129_102837.jpg ./800/ [49@convert -geometry 800x 20090129_102850.jpg ./800/ convert -geometry 800x ./800/6[?12l[?25h[?12;25h[?25lFile Edit Options Buffers Tools Help   convert -geometry 800x 20090129_102425.jpg ./800/20090129_102425.jpg convert -geometry 800x 20090129_102433.jpg ./800/20090129_102433.jpg convert -geometry 800x 20090129_102443.jpg ./800/20090129_102443.jpg convert -geometry 800x 20090129_102454.jpg ./800/20090129_102454.jpg convert -geometry 800x 20090129_102500.jpg ./800/20090129_102500.jpg convert -geometry 800x 20090129_102603.jpg ./800/20090129_102603.jpg convert -geometry 800x 20090129_102628.jpg ./800/20090129_102628.jpg convert -geometry 800x 20090129_102641.jpg ./800/20090129_102641.jpg convert -geometry 800x 20090129_102653.jpg ./800/20090129_102653.jpg convert -geometry 800x 20090129_102705.jpg ./800/20090129_102705.jpg convert -geometry 800x 20090129_102719.jpg ./800/20090129_102719.jpg convert -geometry 800x 20090129_102750.jpg ./800/20090129_102750.jpg convert -geometry 800x 20090129_102803.jpg ./800/20090129_102803.jpg convert -geometry 800x 20090129_102837.jpg ./800/20090129_102837.jpg convert -geometry 800x 20090129_102850.jpg ./800/20090129_102850.jpg                            -uu-:**-F1 tmp.txt  All L16 (Text Fill)---------------------------------------- [?12l[?25h[?12;25h[?25lWrote /Users/borrel/test/jpeg/tmp.txt[?12l[?25h[?12;25h[?25l--[?12l[?25h[?12;25h[?25l(No files need saving)[?12l[?25h[?12;25h[?25lSaving places to /Users/borrel/.emacs-places...[?12l[?25h[?12;25h[?25lWrote /Users/borrel/.emacs-places[?12l[?25h[?12;25h[?25lSaving places to /Users/borrel/.emacs-places...done[?12l[?25h[?12;25h[?1l>[?12l[?25h[?1049l pc163-41: jpeg $ more tmp.txt [?1h=convert -geometry 800x 20090129_102425.jpg ./800/20090129_102425.jpg convert -geometry 800x 20090129_102433.jpg ./800/20090129_102433.jpg convert -geometry 800x 20090129_102443.jpg ./800/20090129_102443.jpg convert -geometry 800x 20090129_102454.jpg ./800/20090129_102454.jpg convert -geometry 800x 20090129_102500.jpg ./800/20090129_102500.jpg convert -geometry 800x 20090129_102603.jpg ./800/20090129_102603.jpg convert -geometry 800x 20090129_102628.jpg ./800/20090129_102628.jpg convert -geometry 800x 20090129_102641.jpg ./800/20090129_102641.jpg convert -geometry 800x 20090129_102653.jpg ./800/20090129_102653.jpg convert -geometry 800x 20090129_102705.jpg ./800/20090129_102705.jpg convert -geometry 800x 20090129_102719.jpg ./800/20090129_102719.jpg convert -geometry 800x 20090129_102750.jpg ./800/20090129_102750.jpg convert -geometry 800x 20090129_102803.jpg ./800/20090129_102803.jpg convert -geometry 800x 20090129_102837.jpg ./800/20090129_102837.jpg convert -geometry 800x 20090129_102850.jpg ./800/20090129_102850.jpg tmp.txt (END) ...skipping... convert -geometry 800x 20090129_102425.jpg ./800/20090129_102425.jpg convert -geometry 800x 20090129_102433.jpg ./800/20090129_102433.jpg convert -geometry 800x 20090129_102443.jpg ./800/20090129_102443.jpg convert -geometry 800x 20090129_102454.jpg ./800/20090129_102454.jpg convert -geometry 800x 20090129_102500.jpg ./800/20090129_102500.jpg convert -geometry 800x 20090129_102603.jpg ./800/20090129_102603.jpg convert -geometry 800x 20090129_102628.jpg ./800/20090129_102628.jpg convert -geometry 800x 20090129_102641.jpg ./800/20090129_102641.jpg convert -geometry 800x 20090129_102653.jpg ./800/20090129_102653.jpg convert -geometry 800x 20090129_102705.jpg ./800/20090129_102705.jpg convert -geometry 800x 20090129_102719.jpg ./800/20090129_102719.jpg convert -geometry 800x 20090129_102750.jpg ./800/20090129_102750.jpg convert -geometry 800x 20090129_102803.jpg ./800/20090129_102803.jpg convert -geometry 800x 20090129_102837.jpg ./800/20090129_102837.jpg convert -geometry 800x 20090129_102850.jpg ./800/20090129_102850.jpg ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ (END) ...skipping... convert -geometry 800x 20090129_102425.jpg ./800/20090129_102425.jpg convert -geometry 800x 20090129_102433.jpg ./800/20090129_102433.jpg convert -geometry 800x 20090129_102443.jpg ./800/20090129_102443.jpg convert -geometry 800x 20090129_102454.jpg ./800/20090129_102454.jpg convert -geometry 800x 20090129_102500.jpg ./800/20090129_102500.jpg convert -geometry 800x 20090129_102603.jpg ./800/20090129_102603.jpg convert -geometry 800x 20090129_102628.jpg ./800/20090129_102628.jpg convert -geometry 800x 20090129_102641.jpg ./800/20090129_102641.jpg convert -geometry 800x 20090129_102653.jpg ./800/20090129_102653.jpg convert -geometry 800x 20090129_102705.jpg ./800/20090129_102705.jpg convert -geometry 800x 20090129_102719.jpg ./800/20090129_102719.jpg convert -geometry 800x 20090129_102750.jpg ./800/20090129_102750.jpg convert -geometry 800x 20090129_102803.jpg ./800/20090129_102803.jpg convert -geometry 800x 20090129_102837.jpg ./800/20090129_102837.jpg convert -geometry 800x 20090129_102850.jpg ./800/20090129_102850.jpg ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ (END) [?1l>pc163-41: jpeg $ pc163-41: jpeg $ more tm,pp.txt [?1h=convert -geometry 800x 20090129_102425.jpg ./800/20090129_102425.jpg convert -geometry 800x 20090129_102433.jpg ./800/20090129_102433.jpg convert -geometry 800x 20090129_102443.jpg ./800/20090129_102443.jpg convert -geometry 800x 20090129_102454.jpg ./800/20090129_102454.jpg convert -geometry 800x 20090129_102500.jpg ./800/20090129_102500.jpg convert -geometry 800x 20090129_102603.jpg ./800/20090129_102603.jpg convert -geometry 800x 20090129_102628.jpg ./800/20090129_102628.jpg convert -geometry 800x 20090129_102641.jpg ./800/20090129_102641.jpg convert -geometry 800x 20090129_102653.jpg ./800/20090129_102653.jpg convert -geometry 800x 20090129_102705.jpg ./800/20090129_102705.jpg convert -geometry 800x 20090129_102719.jpg ./800/20090129_102719.jpg convert -geometry 800x 20090129_102750.jpg ./800/20090129_102750.jpg convert -geometry 800x 20090129_102803.jpg ./800/20090129_102803.jpg convert -geometry 800x 20090129_102837.jpg ./800/20090129_102837.jpg convert -geometry 800x 20090129_102850.jpg ./800/20090129_102850.jpg tmp.txt (END) [?1l>pc163-41: jpeg $ convert -gemonometry 800x ./800/%03d.jpg convert: missing an image filename `./800/%03d.jpg'. pc163-41: jpeg $ more ~/bin/reduce [?1h=#! /bin/csh -f foreach file (*jpg) jpegtopnm $file | pnmscale -width 1920 | ppmtojpeg -q 75 > ./small/$file end /Users/borrel/bin/reduce (END) [?1l>pc163-41: jpeg $ chmod +x reduce pc163-41: jpeg $ ./reduce ./800/: Is a directory. ./800/: Is a directory. ./800/: Is a directory. ./800/: Is a directory. ./800/: Is a directory. ./800/: Is a directory. ./800/: Is a directory. ./800/: Is a directory. ./800/: Is a directory. ./800/: Is a directory. ./800/: Is a directory. ./800/: Is a directory. ./800/: Is a directory. ./800/: Is a directory. ./800/: Is a directory. ./800/: Is a directory. pc163-41: jpeg $ ./reduce convert: missing an image filename `20090129_102419.jpg'. convert: missing an image filename `20090129_102425.jpg'. convert: missing an image filename `20090129_102433.jpg'. convert: missing an image filename `20090129_102443.jpg'. convert: missing an image filename `20090129_102454.jpg'. convert: missing an image filename `20090129_102500.jpg'. convert: missing an image filename `20090129_102603.jpg'. convert: missing an image filename `20090129_102628.jpg'. convert: missing an image filename `20090129_102641.jpg'. convert: missing an image filename `20090129_102653.jpg'. convert: missing an image filename `20090129_102705.jpg'. convert: missing an image filename `20090129_102719.jpg'. convert: missing an image filename `20090129_102750.jpg'. convert: missing an image filename `20090129_102803.jpg'. convert: missing an image filename `20090129_102837.jpg'. convert: missing an image filename `20090129_102850.jpg'. pc163-41: jpeg $ ./reduce convert: missing an image filename `./20090129_102419.jpg'. convert: missing an image filename `./20090129_102425.jpg'. convert: missing an image filename `./20090129_102433.jpg'. convert: missing an image filename `./20090129_102443.jpg'. convert: missing an image filename `./20090129_102454.jpg'. convert: missing an image filename `./20090129_102500.jpg'. convert: missing an image filename `./20090129_102603.jpg'. convert: missing an image filename `./20090129_102628.jpg'. convert: missing an image filename `./20090129_102641.jpg'. convert: missing an image filename `./20090129_102653.jpg'. convert: missing an image filename `./20090129_102705.jpg'. convert: missing an image filename `./20090129_102719.jpg'. convert: missing an image filename `./20090129_102750.jpg'. convert: missing an image filename `./20090129_102803.jpg'. convert: missing an image filename `./20090129_102837.jpg'. convert: missing an image filename `./20090129_102850.jpg'. pc163-41: jpeg $ more reduce [?1h=#! /bin/csh -f foreach file (*jpg) convert -geometry 800x ./$file > ./800/$file end reduce (END) [?1l>pc163-41: jpeg $ pc163-41: jpeg $ more reduce./reduce [7@chmod +x [2@more ~/bin/convert -geometry 800x ./800/%03d.jpg more ~/bin/reduce [?1h=#! /bin/csh -f foreach file (*jpg) jpegtopnm $file | pnmscale -width 1920 | ppmtojpeg -q 75 > ./small/$file end /Users/borrel/bin/reduce (END) [?1l>pc163-41: jpeg $ ./reduce pc163-41: jpeg $ chmod d +x reduce pc163-41: jpeg $ ls -l reduce -rwxr-xr-x+ 1 borrel staff 85 Feb 3 11:25 reduce* pc163-41: jpeg $ more reduce [?1h=#! /bin/csh -f foreach file (*jpg) convert -geometry 800x ./$file ./800/$file end reduce (END) [?1l>pc163-41: jpeg $ more tmp.txt [?1h=convert -geometry 800x 20090129_102425.jpg ./800/20090129_102425.jpg convert -geometry 800x 20090129_102433.jpg ./800/20090129_102433.jpg convert -geometry 800x 20090129_102443.jpg ./800/20090129_102443.jpg convert -geometry 800x 20090129_102454.jpg ./800/20090129_102454.jpg convert -geometry 800x 20090129_102500.jpg ./800/20090129_102500.jpg convert -geometry 800x 20090129_102603.jpg ./800/20090129_102603.jpg convert -geometry 800x 20090129_102628.jpg ./800/20090129_102628.jpg convert -geometry 800x 20090129_102641.jpg ./800/20090129_102641.jpg convert -geometry 800x 20090129_102653.jpg ./800/20090129_102653.jpg convert -geometry 800x 20090129_102705.jpg ./800/20090129_102705.jpg convert -geometry 800x 20090129_102719.jpg ./800/20090129_102719.jpg convert -geometry 800x 20090129_102750.jpg ./800/20090129_102750.jpg convert -geometry 800x 20090129_102803.jpg ./800/20090129_102803.jpg convert -geometry 800x 20090129_102837.jpg ./800/20090129_102837.jpg convert -geometry 800x 20090129_102850.jpg ./800/20090129_102850.jpg tmp.txt (END) [?1l>pc163-41: jpeg $ cd 800 pc163-41: 800 $ ls ./ 20090129_102454.jpg 20090129_102719.jpg ../ 20090129_102500.jpg 20090129_102750.jpg .DS_Store 20090129_102603.jpg 20090129_102803.jpg 20090129_102419.jpg 20090129_102628.jpg 20090129_102837.jpg 20090129_102425.jpg 20090129_102641.jpg 20090129_102850.jpg 20090129_102433.jpg 20090129_102653.jpg 20090129_102443.jpg 20090129_102705.jpg pc163-41: 800 $ montage `ls *jpg` -background black -geometry 198x+4+4 -tile 4x -gravity north test.htmlindex.html pc163-41: 800 $ exit Script done on Tue Feb 3 11:45:32 2009