Re: Script: Thumbnail Maintenance
Posted: 22 May 2022 14:01
Hi klownboy
Thanks for your interest, and I hope my insights help you.
That goto takes me to E:\OneDrive\Pictures\2014 which is shown in the XYplorer list as
My laptop is set to store all files and folders on the actual physical hard disk, as they were all on there before I bought into the OneDrive system, and I don't want to be without them if the internet connection fails. I use the OneDrive to mirror them to my other more portable laptop, which also stores them on its physical hard disk. Also backed up to a stand-alone physical hard disk. Hopefully belt and braces for backup.
I do have some photos in a backup folder on my C drive, "C:\Users\Jim\Documents OLD\Backups", which has nested sub folders. I ran option 6 on that - it contains 635 Files, 66 Folders, 1.12 GB. It got stuck after a few minutes on the 8th subfolder - which contains only 12 jpg files. After 20 minutes it was still asking me to wait there. I'm afraid I mistakenly then asked XYp to run a report on the current folder which stopped your script. However, despite it having shown in the information field that it was looking in each subfolder up to that one, it had only created a cache for one of them - which is actually the 4th subfolder with just one image inside.
To see if it had anything to do with the file location, I copied that whole folder structure to a new one in the root of C, removed non-image files, renamed it to "C:\TESTFOLDER for Pictures" and loaded the script, choosing option 6. It ran, completed and showed no images in any folder. The only entry shown when I use option 1 is
C:\TESTFOLDER for Pictures\ ● 300x200 ● 22/05/2022 12:26 ● cc9e70c874db92b5585f1f11c7287d6b ● 1.19 MB
The main TESTFOLDER itself has 11 jpg images totalling 2.31MB.
As I was typing the above, I found that what I was typing was not reaching the screen. Your script had restarted itself on the previous folder that had been interrupted. Every time the information box changed, it took focus from my typing. I'm afraid I couldn't live with it doing that any time I ran it.
Unfortunately, the information box that popped up also showed no images.
TO speed up testing, I deleted the images in the main folder, and most of the subfolders, leaving 5, one of which has a subfolder. Running option 7 to remove the cache takes no time, then I ran option 6 which again shows no images. But it still shows there is a cache for the main folder which now has no images of its own.
Folder [C:\TESTFOLDER for Pictures\]
[300x200]
Before: 1,224 KB After: NA no images in folder.
I'm flummoxed. I'm using XYplorer 23.00.0300, and Windows 10 which is different to yours.
Best of luck sorting it out. I'm off to do some family history research!
Jim
Thanks for your interest, and I hope my insights help you.
That goto takes me to E:\OneDrive\Pictures\2014 which is shown in the XYplorer list as
My laptop is set to store all files and folders on the actual physical hard disk, as they were all on there before I bought into the OneDrive system, and I don't want to be without them if the internet connection fails. I use the OneDrive to mirror them to my other more portable laptop, which also stores them on its physical hard disk. Also backed up to a stand-alone physical hard disk. Hopefully belt and braces for backup.
I do have some photos in a backup folder on my C drive, "C:\Users\Jim\Documents OLD\Backups", which has nested sub folders. I ran option 6 on that - it contains 635 Files, 66 Folders, 1.12 GB. It got stuck after a few minutes on the 8th subfolder - which contains only 12 jpg files. After 20 minutes it was still asking me to wait there. I'm afraid I mistakenly then asked XYp to run a report on the current folder which stopped your script. However, despite it having shown in the information field that it was looking in each subfolder up to that one, it had only created a cache for one of them - which is actually the 4th subfolder with just one image inside.
To see if it had anything to do with the file location, I copied that whole folder structure to a new one in the root of C, removed non-image files, renamed it to "C:\TESTFOLDER for Pictures" and loaded the script, choosing option 6. It ran, completed and showed no images in any folder. The only entry shown when I use option 1 is
C:\TESTFOLDER for Pictures\ ● 300x200 ● 22/05/2022 12:26 ● cc9e70c874db92b5585f1f11c7287d6b ● 1.19 MB
The main TESTFOLDER itself has 11 jpg images totalling 2.31MB.
As I was typing the above, I found that what I was typing was not reaching the screen. Your script had restarted itself on the previous folder that had been interrupted. Every time the information box changed, it took focus from my typing. I'm afraid I couldn't live with it doing that any time I ran it.
Unfortunately, the information box that popped up also showed no images.
TO speed up testing, I deleted the images in the main folder, and most of the subfolders, leaving 5, one of which has a subfolder. Running option 7 to remove the cache takes no time, then I ran option 6 which again shows no images. But it still shows there is a cache for the main folder which now has no images of its own.
Folder [C:\TESTFOLDER for Pictures\]
[300x200]
Before: 1,224 KB After: NA no images in folder.
I'm flummoxed. I'm using XYplorer 23.00.0300, and Windows 10 which is different to yours.
Best of luck sorting it out. I'm off to do some family history research!
Jim