Comment on Anon needs help to solve the mystery
j4k3@lemmy.world 2 days agoMaybe I installed something or wrote a script that I forgot about (happens cause super sleep deprived from disability, broken neck and back), or maybe it is a fedora thing (I think it is this), but yeah, if I change the suffix it also changes the model file automatically. If it can’t do the change it will tack on the additional suffix. So like if I try to rename image.jpg to image.png, it just does it, but if I rename image.jpg to image.svg it will automatically rename to image.svg.jpg to let me know that it does not work.
naeap@sopuli.xyz 2 days ago
Hm…ok, never heard of that - at least not without extra programs
Does that also work from the terminal or only inside your file browser?
Because, as said, Linux usually doesn’t care that much about suffixes, but much more about the file type in the file header.
At least that’s my experience and what I’ve read.
But thanks for the info.
Not sure, if I’d like to have it though or rather not ;-)
j4k3@lemmy.world 2 days ago
Renaming extensions is a common thing in Unix/Linux
naeap@sopuli.xyz 2 days ago
Yeah, I do get, that this is a reasonable easy enough thing to do
The first result I get from your link is a bash script, that wouldn’t do this stuff automatically.
So I would be interested where you got this extension installed and in what parts of the system it is actually working.
So does this work as well, wenn die rename a file in a shell?
Which I would find rather strange, tbh, but would be interested, how that is implemented
As extension of a file browser, I do get that this could be quite popular.
Could you just try that one case out?