Import 310 directories
Moderators: XnTriq, helmut, xnview
Import 310 directories
Linux Opensuse Leap 15.1.
How can I import 310 directories/folders? I have a total of 48,000 images in there
All the images are underneath the /drive-b/photos/ directory. /drive-b/ is a 4TB internal drive /dev/sdb which is separate from the rest of the system.
Thanks
How can I import 310 directories/folders? I have a total of 48,000 images in there
All the images are underneath the /drive-b/photos/ directory. /drive-b/ is a 4TB internal drive /dev/sdb which is separate from the rest of the system.
Thanks
Re: Import 310 directories
These photos do contain keywords ? iptc ? xmp ? xmp companion ?
Do you have already created some of these keywords as categories in xnviewmp ?
Did you backup some settings, categories, xnview.db ... before adding so much photos ?
If yes, go to settings metadata, mark the first checkbox (import xmp .. iptc .. to categories ), unmark the second (export)
go to settings catalog, click on "add folders" and choose the directory that contains your photos to be added ...
it will take a few hours to read 48000 files
When finised, you'll be able to use categories filter.
in settings metadata you can now unmark "import ..." and set "export ..." , so keywords will be added when you check a category.
( If there are no keywords at all in these photos, you can use ExifTool to copy folder names into keywords, but it's a bit tricky ...)
Do you have already created some of these keywords as categories in xnviewmp ?
Did you backup some settings, categories, xnview.db ... before adding so much photos ?
If yes, go to settings metadata, mark the first checkbox (import xmp .. iptc .. to categories ), unmark the second (export)
go to settings catalog, click on "add folders" and choose the directory that contains your photos to be added ...
it will take a few hours to read 48000 files
When finised, you'll be able to use categories filter.
in settings metadata you can now unmark "import ..." and set "export ..." , so keywords will be added when you check a category.
( If there are no keywords at all in these photos, you can use ExifTool to copy folder names into keywords, but it's a bit tricky ...)
Catalogage avec XnviewMP : https://orchisere.fr/logiciels/html/xnviewmpintro.htm
Tutoriel exiftool : https://orchisere.fr/logiciels/html/exiftool.htm
Tutoriel exiftool : https://orchisere.fr/logiciels/html/exiftool.htm
Re: Import 310 directories
I would say that about half of them have keywords and they are stored in .cr2.xmp and .raf.xmp
I have a spreadsheet with all my keywords. I could even create them by hand if "really" needed. There are less 350 keywords in all.
I tried this twice and it crashed about a third of the way through. The second time, I deleted all the xnviewmp config before trying to import again.michel038 wrote: ↑Wed Jul 31, 2019 10:30 pm If yes, go to settings metadata, mark the first checkbox (import xmp .. iptc .. to categories ), unmark the second (export)
go to settings catalog, click on "add folders" and choose the directory that contains your photos to be added ...
it will take a few hours to read 48000 files
Code: Select all
GFF :: LoadThumbnail : 2
CHECK : <coren-stan-20180727-a002-5x7-vertical.xcf>
LOAD BITMAP </drive-b/photos/gimps/coren-stan-20180727-a002-5x7-vertical.xcf>
*** Error in `/tmp/.mount_xnniewayDVaX/usr/XnView/XnView': double free or corruption (!prev): 0x00007f01741c1b60 ***
/tmp/.mount_xnniewayDVaX/usr/bin//xnviewmp: line 5: 31627 Aborted (core dumped) "$usr/XnView/XnView" "$@"
Re: Import 310 directories
is it possible to have the .xcf file?elfroggio wrote: ↑Thu Aug 01, 2019 12:03 amCode: Select all
GFF :: LoadThumbnail : 2 CHECK : <coren-stan-20180727-a002-5x7-vertical.xcf> LOAD BITMAP </drive-b/photos/gimps/coren-stan-20180727-a002-5x7-vertical.xcf> *** Error in `/tmp/.mount_xnniewayDVaX/usr/XnView/XnView': double free or corruption (!prev): 0x00007f01741c1b60 *** /tmp/.mount_xnniewayDVaX/usr/bin//xnviewmp: line 5: 31627 Aborted (core dumped) "$usr/XnView/XnView" "$@"
Pierre.
Re: Import 310 directories
Actually, there are 2 files:xnview wrote: ↑Mon Aug 05, 2019 3:34 pmis it possible to have the .xcf file?elfroggio wrote: ↑Thu Aug 01, 2019 12:03 amCode: Select all
GFF :: LoadThumbnail : 2 CHECK : <coren-stan-20180727-a002-5x7-vertical.xcf> LOAD BITMAP </drive-b/photos/gimps/coren-stan-20180727-a002-5x7-vertical.xcf> *** Error in `/tmp/.mount_xnniewayDVaX/usr/XnView/XnView': double free or corruption (!prev): 0x00007f01741c1b60 *** /tmp/.mount_xnniewayDVaX/usr/bin//xnviewmp: line 5: 31627 Aborted (core dumped) "$usr/XnView/XnView" "$@"
https://drive.google.com/open?id=1vDHCf ... hA-J5VzHc1
and
https://drive.google.com/open?id=1nsoyE ... AoZl5Gh5gx
If XnV can't read them , what about ignoring them completely?
Thanks
Re: Import 310 directories
Xn can read .xcf. Are you using 0.93.1? I can't reproduce the crash
Pierre.
Re: Import 310 directories
I'm using Opensuse Leap 15.1 and the crash was with
Code: Select all
xnview_mp.glibc2.17-x86_64.appimage
I even told it to ignore that directory (with most of my gimps/xcf files) and it still crashed.
Is there a way to tell it to ignore some file extensions?
Thanks
Re: Import 310 directories
Right, strange, i can only reproduce with this AppImage, not the TGZ or debelfroggio wrote: ↑Tue Aug 13, 2019 12:53 am downloaded from: https://download.xnview.com/XnView_MP.g ... 4.AppImage
You can add .xcf in Settings>Filelist>Custom filter - ExcludeIs there a way to tell it to ignore some file extensions?
Pierre.
Re: Import 310 directories
Adding ".xcf" in 'Settings>Filelist>Custom filter - Exclude' doesn't work, it still crashes xnxnview wrote: ↑Wed Aug 14, 2019 12:58 pmRight, strange, i can only reproduce with this AppImage, not the TGZ or debelfroggio wrote: ↑Tue Aug 13, 2019 12:53 am downloaded from: https://download.xnview.com/XnView_MP.g ... 4.AppImage
You can add .xcf in Settings>Filelist>Custom filter - ExcludeIs there a way to tell it to ignore some file extensions?
Thanks
Re: Import 310 directories
Still no success.
I get the following error:
Code: Select all
GFF :: LoadThumbnail : 0
CHECK : <bizcard-sritch-20181101.xcf>
LOAD BITMAP </drive-b/photos/business/bizcard-sritch-20181101.xcf>
GFF :: LoadThumbnail : 0
ItemData :: update ==> business OK
CHECK : <agility-20100612-8158-edit.psd>
LOAD BITMAP </drive-b/photos/gimps/agility-20100612-8158-edit.psd>
JPEG load : 1.044444 90 62
JPEG load : 160 94
GFF :: LoadThumbnail : 0
CHECK : <agility-20100612-8158-edit.psd.xmp>
LOAD BITMAP </drive-b/photos/gimps/agility-20100612-8158-edit.psd.xmp>
my_error_exit...<Not a JPEG file: starts with 0x3c 0x3f>
GFF :: LoadThumbnail : 2
CHECK : <coren-stan-20180727-a002-5x7-vertical.xcf>
LOAD BITMAP </drive-b/photos/gimps/coren-stan-20180727-a002-5x7-vertical.xcf>
ItemData :: update ==> customers OK
ItemData :: update ==> events OK
*** Error in `/tmp/.mount_xnview05iPoa/usr/XnView/XnView': double free or corruption (!prev): 0x00007fec10097260 ***
/tmp/.mount_xnview05iPoa/usr/bin//xnviewmp: line 5: 9382 Aborted (core dumped) "$usr/XnView/XnView" "$@"
froggy@etherlbert:~>
In /tmp, I have
Code: Select all
> ls -alF /tmp/qts*
-rw-r--r-- 1 froggy users 0 Aug 14 11:53 /tmp/qtsingleapp-XnView-19c-3e8-lockfile
srwxr-xr-x 1 froggy users 0 Aug 15 10:37 /tmp/qtsingleapp-XnView-2b96-3e8=
-rw-r--r-- 1 froggy users 0 Aug 15 10:37 /tmp/qtsingleapp-XnView-2b96-3e8-lockfile
-rw-r--r-- 1 froggy users 0 Aug 15 10:37 /tmp/qtsingleapp-XnView-308d-3e8-lockfile
-rw-r--r-- 1 froggy users 0 Aug 1 09:55 /tmp/qtsingleapp-XnView-3612-3e8-lockfile
-rw-r--r-- 1 froggy users 0 Aug 1 09:57 /tmp/qtsingleapp-XnView-378a-3e8-lockfile
srwxr-xr-x 1 froggy users 0 Aug 14 11:50 /tmp/qtsingleapp-XnView-52c8-3e8=
-rw-r--r-- 1 froggy users 0 Aug 14 11:50 /tmp/qtsingleapp-XnView-52c8-3e8-lockfile
srwxr-xr-x 1 froggy users 0 Aug 16 09:52 /tmp/qtsingleapp-XnView-5572-3e8=
-rw-r--r-- 1 froggy users 0 Aug 16 09:52 /tmp/qtsingleapp-XnView-5572-3e8-lockfile
-rw-r--r-- 1 froggy users 0 Aug 15 10:36 /tmp/qtsingleapp-XnView-5ac6-3e8-lockfile
srwxr-xr-x 1 froggy users 0 Aug 14 11:54 /tmp/qtsingleapp-XnView-79f1-3e8=
-rw-r--r-- 1 froggy users 0 Aug 14 11:54 /tmp/qtsingleapp-XnView-79f1-3e8-lockfile
srwxr-xr-x 1 froggy users 0 Aug 14 11:52 /tmp/qtsingleapp-XnView-8466-3e8=
-rw-r--r-- 1 froggy users 0 Aug 14 11:52 /tmp/qtsingleapp-XnView-8466-3e8-lockfile
srwxr-xr-x 1 froggy users 0 Aug 12 17:50 /tmp/qtsingleapp-XnView-86a3-3e8=
-rw-r--r-- 1 froggy users 0 Aug 12 17:50 /tmp/qtsingleapp-XnView-86a3-3e8-lockfile
-rw-r--r-- 1 froggy users 0 Aug 1 09:57 /tmp/qtsingleapp-XnView-a13d-3e8-lockfile
-rw-r--r-- 1 froggy users 0 Aug 14 11:51 /tmp/qtsingleapp-XnView-a870-3e8-lockfile
srwxr-xr-x 1 froggy users 0 Aug 19 17:13 /tmp/qtsingleapp-XnView-b150-3e8=
-rw-r--r-- 1 froggy users 0 Aug 19 17:13 /tmp/qtsingleapp-XnView-b150-3e8-lockfile
-rw-r--r-- 1 froggy users 0 Aug 1 10:14 /tmp/qtsingleapp-XnView-b9eb-3e8-lockfile
srwxr-xr-x 1 froggy users 0 Aug 19 17:16 /tmp/qtsingleapp-XnView-d9c-3e8=
-rw-r--r-- 1 froggy users 0 Aug 19 17:16 /tmp/qtsingleapp-XnView-d9c-3e8-lockfile
-rw-r--r-- 1 froggy users 0 Aug 12 17:44 /tmp/qtsingleapp-XnView-da4e-3e8-lockfile
-rw-r--r-- 1 froggy users 0 Aug 1 18:25 /tmp/qtsingleapp-XnView-ea3-3e8-lockfile
-rw-r--r-- 1 froggy users 0 Aug 16 09:53 /tmp/qtsingleapp-XnView-f7cd-3e8-lockfile
srwxr-xr-x 1 froggy users 0 Aug 19 17:14 /tmp/qtsingleapp-XnView-fb8e-3e8=
-rw-r--r-- 1 froggy users 0 Aug 19 17:14 /tmp/qtsingleapp-XnView-fb8e-3e8-lockfile