Little utility in Nim to convert filenames to a uniform format:
<prefix><random alphanumeric suffix>.<extension>
$ nimble install passgen
$ git clone https://github.com/rustomax/nim-fren.git
$ cd nim-fren
$ mkdir bin
$ nim c -d:release -o:bin/fren fren.nim
$ bin/fren test shortname-
somefilewithlongname393834.jpg -> shortname-JFC7.jpg
$ bin/fren ~/Pictures/Incoming/ futuristic-
index.jpg -> futuristic-A5X9.jpg
Copy fren binary to a bin directory in your path, i.e.
$ sudo cp bin/fren /usr/bin
Now, you can run the utility without prepending a path:
fren <arguments>