How to replace underscores with other characters in a filename?
From: 0 (stacko23_at_my-deja.com)
Date: 12/21/03
- Next message: ynotssor: "Re: How to replace underscores with other characters in a filename?"
- Previous message: mjt: "Re: installing linux"
- Next in thread: ynotssor: "Re: How to replace underscores with other characters in a filename?"
- Reply: ynotssor: "Re: How to replace underscores with other characters in a filename?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 21 Dec 2003 08:39:56 -0800
Hi NG!
I've got some files named "Title _Author_ _blah_.rar" and I'd like to
rename them at once in "Title (Author) (blah).rar" ot something like
that. Notice that the underscores are not replaced by a single
character but that it depends on the leading or trailing space
character.
How can I do this quickly, without creating some perl script or
something similar for the purpose? I've been thinking of a bash
script, but I'm rather reserved as of using bash because it instantly
gives me an awful headache when trying to grasp it's awful syntax.
Well I know I shouldn't but maybe you could achieve convincing me to
think of bash as of a delicious ice cream (mmmmmhh.... bash...) by
showing me how impressingly simple it is to do the renamings?
My apologies if I sound a bit confusing, but anyway: any help would be
greatly appreciated.
Thanks!
Bernd Haller
- Next message: ynotssor: "Re: How to replace underscores with other characters in a filename?"
- Previous message: mjt: "Re: installing linux"
- Next in thread: ynotssor: "Re: How to replace underscores with other characters in a filename?"
- Reply: ynotssor: "Re: How to replace underscores with other characters in a filename?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|