No, but seriously, half of my research time is wasted on renaming downloaded files.
(Yeah, I know, there's reference management software but people use different ones, so sharing papers or storing them for easy access is still dependent on properly named files.)
Why aren't you just sending people a doi or a hyperlink if they want a paper? And if they have asked for a specific paper surely they can do the renaming?
detox --inline is just a utility which makes the file names shell friendly (removes special characters and spaces), but that is optional. Also, technically the newnamefn is what does all of the job, and below is just a loop to iterate on all files that are given as input like script file1 "file2" file3, where file2 had some special characters, so enclosed in "" quotes. you can also translate it to python, then you would not even require sed and grep (you can just get output in json-esque format). I have a small keybinding in my file manager, which renames all selected files, so I do not have to spend any amount of my mind
you can make it work in any os (maybe use some llm for it), you just have to install pdf2bib
you can create a python virtual environment, and you do not even have to install python for that. you can install python in a user only mode, and then create a virtual environment (these can be made anywhere, so for example, your downloads or documents folder(assuming you are allowed to access these folders, you usually do)), script would have to be modefied a bit, but still doable. In case you need help for this, feel free to reply/message