Reinstating a files extension
I am dual booting linux with WinXP. I was/am storing a large amount of digital images (100+ images from camera) in linux, where I decided to rename all the files. The file names started off as something like image09.jpg where I would rename it as something like House. But in the process of renaming it, the file extension (.jpg or suchlike) was deleted. Linux didn't mind this, and still recognised the file as an image. But when I try to load the images back into XP, it doesnt recognise the file as being an image and so gives it an extension of FILE.
By renaming the image (in XP) with .jpg on the end, XP will recognise it. Same happens if I load the file into an image viewer. But renaming the file with the extension .jpg (or whatever) is time consuming and annoying.
Is there a way in linux to reinstate the file extension without having to go through and rename the images? Or does anyone no of any way of doing the same in XP? Any help will be much appreciated and I hope what I have written makes sense.
|