Re: changing multiple filenames
From: Sybren Stüvel (sybrenUSE_at_YOURimagination.thirdtower.com)
Date: 11/27/03
- Next message: midnightcruis86_at_hotmail.com: "Re: Problem after updating kernel to version 2.4.22"
- Previous message: skris_b: "PPPoEoA with Linux?"
- In reply to: waa: "changing multiple filenames"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 27 Nov 2003 17:05:44 +0100
On Thu, 27 Nov 2003 06:50:18 -0800, waa wrote:
> I want to change multiple filenames in a dir. I have ABD.FOR ACD.FOR ...
> in a dir. Now I want change the names o abd.for acd.for ... in the same
> dir.
for file in *; do mv $file `echo $file | tr A-Z a-z`; done
Good luck with it
Sybren
-- (o_ Q: God, root, what is difference? //\ A: God can change the byte order on the CPU, root can't. V_/_
- Next message: midnightcruis86_at_hotmail.com: "Re: Problem after updating kernel to version 2.4.22"
- Previous message: skris_b: "PPPoEoA with Linux?"
- In reply to: waa: "changing multiple filenames"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|