01-02-2003
Recommendations for good shell utility to resize JPGs?
Not sure if this is the right place to be posting this. If not, let me know where it fits. I am running RedHat Linux 8.0. I've recently acquired a Sony Mavica digital camera. In short, this thing is awesome (uses cd-rw!). I have been taking high quality images, but I now have the need to try and resize images in a batch process. I can do this manually in GIMP, but that would be time consuming. Since I am dealing with JPEGs of a fixed and proportional size, I would like to be able to just run a bash script that calls a utility to resize the images to 800x600 in a batch. Does anyone have any suggestions?
Thanks,
Deck
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hello,
My System Admin. just switched me from KSH to BASH and something happened to my "nedit" utility!
Does anyone know how to reactivate nedit by anychance?
Thanks very much!
BobK (2 Replies)
Discussion started by: bobk544
2 Replies
2. UNIX for Dummies Questions & Answers
Hello all
im looking for some kind of utility that convert make files to dsp files
is there any kind of tool/script that does this job?
thanks (1 Reply)
Discussion started by: umen
1 Replies
3. Shell Programming and Scripting
All,
I am new to shell scripting. Can you guys suggest me some good books/online tutorials for shell scripting(KSH/BASH)? Thanks in advance.
Janardhan. (1 Reply)
Discussion started by: raok1997
1 Replies
4. Shell Programming and Scripting
Hi,
I am knew to Shell Scripting.
Can someone please tell me some good books for Shell Scripting which explains in a very simple language and covers all the topics nicely.
Thanks,
Shubh. (3 Replies)
Discussion started by: shubhranshu
3 Replies
5. UNIX for Dummies Questions & Answers
Hi ,
I am aware of basics of UNIX like general commands for files & directories.
However now I have to move on to shell programming .
Please suggest any good book for beginners for shell programming basics & advanced which might have some practice questions also.
Thanks,
Ankur (4 Replies)
Discussion started by: ankurvohra
4 Replies
6. Shell Programming and Scripting
Hi unixers, :)
I found some Good sites for learning Shell Programming.
I Hope they will be useful to all of You.
http://steve-parker.org/forum/
http://www.e-learningcenter.com/freecourses.htm
similarly ,if u find any very good sites for shell programming pls post them,
so that they will... (6 Replies)
Discussion started by: ravi raj kumar
6 Replies
7. Shell Programming and Scripting
I need some help to run this executable from within a shell script.
The Script is run the following way at the command prompt.
$rateupd
Main Menu --Standard Output
----------- --Standard Output
1. - Update Rate --Standard Output
2. - Exit. --Standard Output
Enter Selection: 1 --User... (5 Replies)
Discussion started by: rajeeb_d
5 Replies
8. Shell Programming and Scripting
hi:
I am trying to move files from server to server with ftp.
I want the command to read a folder and upload all subdirs and files.
what is the command to do this?
is there something cooler than ftp? if so. how to use it?
thanks again. (2 Replies)
Discussion started by: jason7
2 Replies
9. Shell Programming and Scripting
Hi,
I am new to shell scripting and thus any help will be highly appreciated. I need to write a K shell script where in the email sending feature should be handled by sendmail utility and I have come up with the following :
#!/usr/bin/ksh
echo "This is a test mailest mail" | /usr/lib/sendmail... (4 Replies)
Discussion started by: sdiptanil
4 Replies
10. Shell Programming and Scripting
Can someone explain what this does step by step? I found this script on stackoverflow and want to customize it for personal use in downloading jpg images from a website.
# get all pages
curl 'http://domain.com/id/' -o '#1.html'
# get all images
grep -oh... (3 Replies)
Discussion started by: workisnotfun
3 Replies
RESIZE(1) General Commands Manual RESIZE(1)
NAME
resize - set TERMCAP and terminal settings to current xterm window size
SYNOPSIS
resize [ -u | -c ] [ -s [ row col ] ]
DESCRIPTION
Resize prints a shell command for setting the TERM and TERMCAP environment variables to indicate the current size of xterm window from
which the command is run. For this output to take effect, resize must either be evaluated as part of the command line (usually done with a
shell alias or function) or else redirected to a file which can then be read in. From the C shell (usually known as /bin/csh), the follow-
ing alias could be defined in the user's .cshrc:
% alias rs 'set noglob; eval `resize`'
After resizing the window, the user would type:
% rs
Users of versions of the Bourne shell (usually known as /bin/sh) that don't have command functions will need to send the output to a tempo-
rary file and the read it back in with the ``.'' command:
$ resize > /tmp/out
$ . /tmp/out
OPTIONS
The following options may be used with resize:
-u This option indicates that Bourne shell commands should be generated even if the user's current shell isn't /bin/sh.
-c This option indicates that C shell commands should be generated even if the user's current shell isn't /bin/csh.
-s [rows columns]
This option indicates that Sun console escape sequences will be used instead of the special xterm escape code. If rows and columns
are given, resize will ask the xterm to resize itself. However, the window manager may choose to disallow the change.
FILES
/etc/termcap for the base termcap entry to modify.
~/.cshrc user's alias for the command.
SEE ALSO
csh(1), tset(1), xterm(1)
AUTHORS
Mark Vandevoorde (MIT-Athena), Edward Moy (Berkeley)
Copyright (c) 1984, 1985 by X Consortium
See X(1) for a complete copyright notice.
BUGS
The -u or -c must appear to the left of -s if both are specified.
X Version 11 Release 6.3 RESIZE(1)