On Thu, 27 Oct 2016 18:18:36 -0400, Philip Webb wrote:
> > I know it is a smart-arse answer, but it's better for sore eyes
> > if you rename your files to unique-width numbers.
> > $ for f in image* ; do mv $f image_`printf %03d ${f##image}` ; done
> > This works for zsh and may need slight changes for bash.
>
> That's what I ended up doing, a job for a very rainy today.
> I did it with 'rename', which is fairly powerful,
> but dangerous if you don't concentrate, as it will overwrite files.Have a look at renamexm from sys-apps/rename (it's actually called rename but for Gentoo is was renamed to avoid a collision). It has a lot more options than rename and defaults to prompting you if you try to rename to an existing file. -- Neil Bothwick "Insanity: doing the same thing over and over again and expecting different results." (Albert Einstein)
pgpFiuYSRrzbA.pgp
Description: OpenPGP digital signature

