On Thu, Aug 02, 2001 at 10:53:27AM -0400, Alan Shutko wrote:
> Miaoling Chiu <[EMAIL PROTECTED]> writes:
>
> > Wow! I've been using Linux for a year, and even from the first week
> > I have been trying (without success) to figure out how to do exactly
> > that (ren *.doc *.txt).
>
> Someone else
> > Wow! I've been using Linux for a year, and even from the first week
> > I have been trying (without success) to figure out how to do exactly
> > that (ren *.doc *.txt).
try ren doc txt
-
#!/bin/bash
# ren
oldextension=$1
echo Old extension: ${1:?
Miaoling Chiu <[EMAIL PROTECTED]> writes:
> Wow! I've been using Linux for a year, and even from the first week
> I have been trying (without success) to figure out how to do exactly
> that (ren *.doc *.txt).
Someone else has already answered your specific question, but take a
look at the book U
On Wed, 1 Aug 2001, Miaoling Chiu wrote:
Hi,
> Wow! I've been using Linux for a year, and even from
> the first week I
> have been trying (without success) to figure out how
> to do exactly
> that (ren *.doc *.txt).
install teh mmv package, then do mmv "*.doc" "#1.txt"
Ciao,
Martin
-BEGIN PGP SIGNED MESSAGE-
On Thu, Aug 02, 2001 at 04:24:41PM +1000, James Preston wrote:
> On Wed, Aug 01, 2001 at 11:00:07PM -0700, Miaoling Chiu wrote:
>
> $ for i in *.gif
> do
> convert -sample 50% $i ${i%.gif}.png
> done
>
> ... careful. That assumes that the source image is co
-BEGIN PGP SIGNED MESSAGE-
On Wed, Aug 01, 2001 at 11:00:07PM -0700, Miaoling Chiu wrote:
$ for i in *.gif
do
convert -sample 50% $i ${i%.gif}.png
done
... careful. That assumes that the source image is completely
read and closed before the output file is produced.
Look up "Paramete
>
># for i in *.gif; do convert -sample 50% $i
${i%.gif}.png
>
>...or even this, if he wants to keep gifs:
${i%.gif}_s.gif
>
>The former changes foo.gif to foo.png, the latter to
foo_s.gif. Yay.
>May need quotes if there's spaces, may need some work
in ridiculous
>cases, etc. It took me forever
I haven't caught the beginning of this thread, but a nice Perl
script that I use to generate digital albums is photoaddict,
found at http://photoaddict.sourceforge.net/. It uses convert
internally.
Sorry if this has nothing to do with the original question,
On Wed, Aug 01, 2001 at 01:14:06PM +0100, Andrew Pritchard wrote:
> Quoting "Christopher S. Swingley" <[EMAIL PROTECTED]>:
> > > The command I would expect to work:
> > >
> > > convert -sample 50% *
> >
> > Another method that I often use is:
> >
> > $ find ./ -name '*.gif' -exec convert -ge
Quoting "Christopher S. Swingley" <[EMAIL PROTECTED]>:
> > The command I would expect to work:
> >
> > convert -sample 50% *
>
> Another method that I often use is:
>
> $ find ./ -name '*.gif' -exec convert -geometry 50% {} {}.png \;
>
> The {}'s are replaced by the filenames that 'find' fo
On Mon, Jul 30, 2001 at 05:40:06PM -0300, Miguel Griffa wrote:
> At 01:30 p.m. 30/07/01 -0700, Aaron Brashears wrote:
> >The command I would expect to work:
> >
> >convert -sample 50% *
> >
> >only converts the last file in the directory, and converts it twice
> >(!) to a filename with '.0' and '.0
Aaron Brashears wrote:
> I have many, many images that I want to scale down using imagemagick's
> convert utility. The convert utility doesn't seem to work correctly
> unless you give it an output name per input filename, but the man page
> doesn't make it clear how to do this, and I'm stumped as
> The command I would expect to work:
>
> convert -sample 50% *
Another method that I often use is:
$ find ./ -name '*.gif' -exec convert -geometry 50% {} {}.png \;
The {}'s are replaced by the filenames that 'find' found, one at a time.
So this command would reduce the size of all GIF imag
At 01:30 p.m. 30/07/01 -0700, Aaron Brashears wrote:
I have many, many images that I want to scale down using imagemagick's
convert utility. The convert utility doesn't seem to work correctly
unless you give it an output name per input filename, but the man page
doesn't make it clear how to do th
I have many, many images that I want to scale down using imagemagick's
convert utility. The convert utility doesn't seem to work correctly
unless you give it an output name per input filename, but the man page
doesn't make it clear how to do this, and I'm stumped as to how to
generate a new name fo
15 matches
Mail list logo