1

Duplicate file names aren't saved as abc (1).jpeg, but instead abc.jpeg.1. They're inaccessible as an image; they're just text instead.

I've tried a bunch of websites and so far only convertio has worked, but it has a 10 file limit. They do turn into images, but it would be nice to find a website that doesn't limit conversions or some other method.

koolcat
  • 13
  • 3
  • What is saving these files? Where are they coming from? What OS? I would guess that you really want to look at the application creating these files and solve the problem there, but that's not what you've written here. – music2myear Jan 29 '24 at 23:44
  • @music2myear ok so its not my archive so i dont know the first two but im on windows 11.

    all i know is that its an archive on Tim32 with all the attachments of a defunct forum. funny thing, on the same forum but on a different page (the profile pictures of the members), the files are named the exact same BUT download and open up as image files...weird

    – koolcat Jan 30 '24 at 14:34
  • @music2myear That's what wget does when you tell it to save a page with its resources (--page-requisites), and ask it not to build out the folder structure for the different resources (--no-directories). Both /images/logo.png and /images/press/logo.png would save to your CWD, and wget appends the number to the file name. – Michael come lately Jan 30 '24 at 15:16

1 Answers1

4

Just change the extension back to the correct one. Your system doesn't know what a .1 file is, it does know what a .jpeg or .jpg is. They don't need converting.

Whatever is responsible for renaming the duplicate names is badly wrong. It ought to know to put the number before the extension, not after it - otherwise this issue will arise, on any filesystem, any OS.

Tetsujin
  • 49,589