macOS hidden finder files not ignored by default
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Rapid Photo Downloader |
Triaged
|
Wishlist
|
Unassigned |
Bug Description
during the last import, I saw a bunch of those errors:
Impossible de charger les métadonnées depuis ._DSCF1128.JPG
Il n'y a pas de données pour générer le Sous-dossier et nom de fichier pour ._DSCF1128.JPG. Le photo n'a pas été téléchargé.
that's french, sorry. :) Basically, it says it "can't load metadata from ._DSCF1128.JPG" and "there is no metadata to generate the subfolder and filename for ._DSCF1128.JPG. the picture was not downloaded".
it turns out those files are cruft left over by the Mac OS X Finder on my memory card:
[1016]anarcat@
-rw-r--r-- 1 anarcat anarcat 4 096 2018-02-10 11:21 ._DSCF1218.JPG
-rw-r--r-- 1 anarcat anarcat 11 856 553 2018-02-10 10:39 DSCF1218.JPG
[1012]anarcat@
._DSCF1218.JPG: AppleDouble encoded Macintosh file
[1017]anarcat@
Mac OS X
ATTR;
com.apple.
com.apple.
)w3&
0082;5a7f6249;
This resource fork intentionally left blank
That happened because I opened the files in a friend's Apple computer before importing them. This is probably what created those files.
I think those files should be ignored. Not sure how that decision could be made, but maybe simply ignoring hidden files would be an elegant and logical solution here.
It's not a big deal, because this happens only in corner cases where I happen to open pictures on a Mac for a preview before importing them as part of my normal workflow. But this freaked me out: I thought there was a hardware problem with the memory card, to be honest. If those images would simply be skipped, the problem would just completely go away and not confuse novice users who have no idea what hidden files or resource forks are (nor should they have to know, really).
Thanks!
Rapid Photo Downloader handled the situation as expected: when it encountered a file that was named as a jpg, and it couldn't download it because of missing metadata, it reported an error.
The problem with ignoring all hidden files is that some people might actually want to download them!
If Rapid Photo Downloader is ever ported to macOS, then this will definitely need to be revisited.