Gentoo Archives: gentoo-user

From: Jerry McBride <mcbrides9@×××××××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] [OT] Filename modification with suffix
Date: Fri, 30 Dec 2005 01:01:32
Message-Id: 200512291957.30888.mcbrides9@comcast.net
In Reply to: [gentoo-user] [OT] Filename modification with suffix by Marco Calviani
1 On Thursday 29 December 2005 08:24, Marco Calviani wrote:
2 > Hi list,
3 > maybe this question is a little bit related since it regards non
4 > Gentoo-specific topics.
5 > I would like to add a specific suffix to a list of files. For example
6 > i have files of the type:
7 >
8 > duck1.jpg
9 > duck2.jpg
10 > duck3.jpg
11 >
12 > and i would like them to become:
13 >
14 > donald_duck1.jpg
15 > donald_duck2.jpg
16 > donald_duck3.jpg
17 >
18 > Does somebody knows a simple way to do this via shell?
19 >
20
21 Did anyone mention RENAME???
22
23 A simple "rename duck donald_duck duck*.jpg" would work well also....
24
25 Cheers.
26
27
28
29 --
30 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] [OT] Filename modification with suffix Lithion <l1th10n@×××××××.au>