[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: using convert to batch convert



On Thu, Aug 02, 2001 at 10:53:27AM -0400, Alan Shutko wrote:
> Miaoling Chiu <chiu_miaoling@yahoo.com> 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 Unix Power Tools.  It's got a lot of short tips like
> this, and can make life a lot easier in many ways.

also try 'rename' which is a perl script (it 'comes with the
meat' since it's part of the basic perl installation)--

	rename 's/gif/was.gif.but.now.is.png/' *.gif

man rename

-- 
DEBIAN NEWBIE TIP #29 from Will Trillich <will@serensoft.com>
:
Console GIBBERISH? Suddenly you're seeing Russian or Korean or
box-like text on your console or xterm (or rxvt) -- probably
after viewing a binary file, right? :) Enter "reset" at the
command line, or try embedding a control-O (letter oh) into
your command-line prompt string:
	export PS1='^V^O\u@\h: \w$ '

Also see http://newbieDoc.sourceForge.net/ ...



Reply to: