I have actually written this a few times for things I've needed in my
homelab:

This is the code (at a glance):
[image: image.png]

I have attached the source file for you to use.  Please make note that it
requires you to enter in your working directory (line 4) before it will
work as intended.

--
Thanks,
Alex.




On Thu, Aug 7, 2025 at 10:06 AM Michael via PLUG-discuss <
[email protected]> wrote:

> I was wondering, I need to rename a sequence of files from
> '<order>,jpg' '<order+1>,jpg' (etc)
> to
> '<name> - <name>.jpg' '<name> - <name>*sequence* <+1>'.jpg etc
> Would someone give me the proper bash command to do it?
> ---------------------------------------------------
> PLUG-discuss mailing list: [email protected]
> To subscribe, unsubscribe, or to change your mail settings:
> https://lists.phxlinux.org/mailman/listinfo/plug-discuss
>

Attachment: bash_rename.bash
Description: Binary data

---------------------------------------------------
PLUG-discuss mailing list: [email protected]
To subscribe, unsubscribe, or to change your mail settings:
https://lists.phxlinux.org/mailman/listinfo/plug-discuss

Reply via email to