Re: changing suffix
Adil <[email protected]>
| Newsgroups | gmane.user-groups.linux.ottawa.general |
|---|---|
| Message-ID | <[email protected]> |
> I tried (to echo first):
> for f in *\.a\.bl; do echo ${f#\.a\}.b; done
Hi! Try:
for f in *.a.b
do
mv $f ${f/.a.b/.b}
done
Cheers.
Sadrul
--- On Mon, 6/14/10, James <[email protected]> wrote:
> From: James <[email protected]>
> Subject: [oclug] changing suffix
> To: "OCLUG Mailing List" <[email protected]>
> Received: Monday, June 14, 2010, 5:59 PM
> I am trying tro change the
> suffix of files that end in .a.b to .b
>
> I tried (to echo first):
> for f in *\.a\.bl; do echo ${f#\.a\}.b; done
>
> --
> OCLUG general discussion list
> [email protected]
> http://oclug.on.ca/mailman/listinfo/oclug
>
--
OCLUG general discussion list
[email protected]
http://oclug.on.ca/mailman/listinfo/oclug