Add-on: [CS-FSLUG] Alarm for command-line processes?
john-thomas richards
jtr at jrichards.org
Sat May 8 07:47:00 CDT 2004
On Sat, May 08, 2004 at 10:14:47AM +0300, Jukka Y wrote:
> This is the script that I use. Is there something (that I could add into it)
> to get "alarm" after it finishes:
>
> (script is in single line)
> for i in *jpg;do export i=`echo $i|perl -e '<> =~ /^(.+)\./; print "$1
> \n";'`;echo "converting $i"; convert $i.jpg $i.pnm; rm $i.jpg; c44 $i.pnm
> $i.djvu; rm $i.pnm ; done
perhaps imagemagick would help simplify the conversion process:
mogrify -format pnm *.jpg
http://jrichards.org/blog/article/13
[snip]
--
john-thomas
------
As I would not be a slave, so I would not be a master. This expresses my
idea of democracy.
Abraham Lincoln, 16th U.S. President (1861-1865)
More information about the Christiansource
mailing list