Images on SD card now .JPG, used to be .jpg
Hello All,
I am running Fedora 16 x86_64, gnome, always up to date. A strange problem. For years I have been importing images from my camera SD card, and they have always ended up (in linux dir) as xxxx.jpg (I have checked some dirs of photos from years ago). A day or so ago, I downloaded some photos from the SD card and tried to import them into some new software I'm working with (VisualSFM) and it couldn't see any of the images in the dir...it was looking for .jpg and all the recently imported files were .JPG. I have had to resort to using PyRenamer to get around this problem. I wasn't sure where the problem was, in Fedora somewhere, or the camera. I checked some old SD cards, written by the same camera, and Nautilus shows them all as .JPG, but the previously imported copies of these files on my disc are all .jpg, and I have never before had to resort to renaming. So, I'm beginning to wonder if Nautilus is the indigenous person in the woodpile. A snoop about in Nautilus preferences doesn't indicate any settings that might affect this. Does any one have any clues as to what might be going here? Cheers, Terry |
Have a look at the --filename option in the gphoto2 man page. There is mention there of forcing lowercase.
|
Quote:
Cheers, Terry |
Quote:
This looks like it might just be another approach similar to PyRenamer, ie fix the problem after the event, unless I have misunderstood. It may be a good solution for that, but I was really looking for any advice on what has caused the apparent change that I see. Cheers, Terry |
Quote:
It is now getting a little clearer. Mount options for vfat have changed in the linux kernel. One of the options is shortname={lower|win95|winnt|mixed}, where 'lower' forces the name to lowercase, and this is probably what the default was previously, going by historical behaviour here. The current default is 'mixed', which is probably sensible, although does add inconvenience to import of images from vfat device via some software. There is a way of adding an entry to /etc/fstab for the particular device, using 'shortname=lower', but that may mean a number of entries if one has a number of devices. Although it probably isn't a recommended solution, I wonder if there is a way of overriding the default for all vfat devices, in some config file somewhere? Cheers, Terry |
Not meaning to tell you what to do but the way I do it is insert the card, mount it manually if you have to and open a terminal. Go to or make a directory and go to it and run gphoto2 -P and that downloads all the pics off your card. If you use the "--filename %:" option along with that you get your files in lowercase. Simple. I suspect Nautilus is using gphoto2 as the backend for this, I don't know. But if that is the case you can edit your ~/.bashrc file to include the line
alias gphoto2='gphoto2 --filename %:' and when Nautilus calls gphoto2 to download your pics they will all be in lowercase. Hope this helps. I tried it and it works with gphoto -P but I don't know about Nautilus. I'm a command line person so I can't say. I don't even have Nautilus installed. I use Midnight Commander installed as a file manager so I can use the same file manager in a run level 3 environment. I would have gotten back to you sooner but I'm having issues with getting notifications from this forum about new posts to which I am subscribed. I'll be checking back. |
Quote:
Quote:
Cheers, Terry |
Quote:
|
All times are GMT -5. The time now is 08:55 PM. |