[NTLUG:Discuss] A quick Bash scripting question

Rev. wRy slot0k at pogox.org
Tue May 7 19:37:23 CDT 2002


On Tue, 2002-05-07 at 19:01, Courtney Grimland wrote:

> Would anyone be so kind as to give me a hint?  I can't seem to figure out which tools to string together to get this done.

#!/bin/bash

for file in *.xpm; do
 mv $file `basename $file .xpm`_32x32.xpm
done

HTH.

Ry
-- 
> chemwonk <chemwonk> wrote:
>ObMessy: Explaining the hotel charge for "12 year old virgin" to the
>accountants at the home office.
 
 Bill it as "laptop maintenance".
- Tina Marie




More information about the Discuss mailing list