Alexander Birch on 5 Nov 2005 21:54:51 -0000

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] bash script help

On 11/5/05, Art Alexion <> wrote:
<snip />
> I used to be able to run it like this
> prepend.filename Chipmunks- *.mp3
> and it would prepend Chipmunks- to every mp3 file in the current working
> directory.  Now strangely, it works on one file, then exits.  Run it
> again and it works on the next file and exits again.  What went wrong?

Have you thought about using rename, which was created by Larry Wall?

For your needs it'd be rename "s#^#Chipmunks-#" *.mp3


To avoid spyware:
Use Firefox.
Philadelphia Linux Users Group         --
Announcements -
General Discussion  --