How to get rid of bad chrs?
rikona
rikona at sonic.net
Tue Aug 3 04:13:50 UTC 2021
On Mon, 2 Aug 2021 23:07:21 +0200
Ralf Mardorf via ubuntu-users <ubuntu-users at lists.ubuntu.com> wrote:
> On Mon, 2 Aug 2021 12:54:56 -0700, rikona wrote:
> >> Btw. on an iPad hidden directories are invisible, so I need to care
> >> about this, too.
> >
> >I noticed that there also seems to be a hidden file for each visible
> >file. A PITA when copying photos/files from an Apple product. Is
> >there a way to copy JUST the file and not the hidden file(s)?
>
> I can't confirm this. On Linux I see something like this:
> IMG_E6064.JPG
> IMG_6064.PNG
> IMG_6064.AAE
>
> Apple "Photos" does display IMG_E6064.JPG only.
> The original image is from some app, it's IMG_6064.PNG, after editing
> it by "Photos", some data file named IMG_6064.AAE and the edited
> result IMG_E6064.JPG is stored, but "Photos" doesn't show the
> original, let alone the data file, it only shows the edited export.
It may depend on how the pix were obtained from the phone/comp. I've
been using a direct USB connection for ages, and I guess it just copies
all. Several pgms now offer to connect to the camera/phone and get pix,
and they may only transfer the non-hidden files.
A direct copy gives something like:
IMG_E6064.JPG but also has
.IMG_E6064.JPG
It's not hard to get rid of the . files, and I've done that, but if I'm
getting 5000 pix from some phone, with several dirs, it's a PITA.
> >> Portability is probably the reason that there's not much choice how
> >> to name directories and files by my DSLR camera. The names are very
> >> short and an extremly limited character set can be used.
> >
> >Yes!!! Back a bit, I was copying photos from multiple sources, into
> >one large collection. I had 'duplicate names' and I guess I let some
> >to be overwritten - then I discovered some pix I knew I had were
> >missing! I finally figured it out, but not before losing some older
> >pix I really wanted to keep. I now have some work-arounds for
> >that...
>
> For sRGB the Sony's filenames are
>
> vvv12345.ARW
> vvv12345.JPG
>
> vvv are 3 user-defined chars, e.g. "08i" for August and interval. The
> Sony does number all the way through, from 00000 to 99999 and then
> starts again at 00000. How often a new folder is auto-generated
> depends on folder user-defined settings, but the Sony doesn't
> overwrite files, at the latest when duplicated filenames are
> generated, a new folder is generated, too. AdobeRGB file names are
> flaged with a _ as the first char. I don't know if it is added or
> does replace one of the user-defined chars. However, if it's wanted
> to copy all photos in a single folder, renaming isn't hard to do,
> since we could keep the 12312345.{ARW,JPG} pattern and simply add
> somethiong to the file names, e.g.
> summer_hoildays_2021-12312345.{ARW,JPG}.
Yes - that's one of my main work-arounds, a bit time consuming with
lots of different pix, but a needed operation. I also use many dirs
to keep things separate, but that may not prevent overwrites. Has since
saved me many times.
With huge numbers of pix, and wanting my photo-loving wife to be better
able to deal with the mess, I've gone to Photoshop etc - rather
expensive, with a sometimes steep learning curve, but it does deal with
pix very well.
More information about the ubuntu-users
mailing list