Folder view question

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
FKF5482
Posts: 76
Joined: 06 Apr 2019 04:21

Folder view question

Post by FKF5482 » 19 Jun 2020 12:02

Hello, soon i will move all my pictures to a new drive (once it arrives). The drive i have all my pics atm is Drive F, the new
Disk will be drive E.

I know how to modify XYThumbs.ini to point to the new drive so i won't have to rebuild all the thumbnails but i have no idea what to do with the Folder views i have saved so i won't have to save them from scratch.

So any help is greatly appreciated :)

highend
Posts: 9101
Joined: 06 Feb 2011 00:33

Re: Folder view question

Post by highend » 19 Jun 2020 12:06

From scratch, why?

There is a "Manage Folder Views..."

#477; executed from the address bar
double click on an entry, edit the path, button "OK"

Rinse and repeat...
One of my scripts helped you out? Please donate via Paypal or paypal_donate (at) stdmail (dot) de

FKF5482
Posts: 76
Joined: 06 Apr 2019 04:21

Re: Folder view question

Post by FKF5482 » 19 Jun 2020 12:18

I was afraid of that lol, I have almost 3000 Folder views saved, it will take some time.

Better than nothing i guess, thanks highend!

highend
Posts: 9101
Joined: 06 Feb 2011 00:33

Re: Folder view question

Post by highend » 19 Jun 2020 12:21

In that case I'd better use the old drive letter for the new drive...
One of my scripts helped you out? Please donate via Paypal or paypal_donate (at) stdmail (dot) de

FKF5482
Posts: 76
Joined: 06 Apr 2019 04:21

Re: Folder view question

Post by FKF5482 » 19 Jun 2020 12:28

For sure!!! :biggrin:

klownboy
Posts: 2961
Joined: 28 Feb 2012 19:27

Re: Folder view question

Post by klownboy » 19 Jun 2020 17:53

FKF5482 wrote:
19 Jun 2020 12:02
I know how to modify XYThumbs.ini to point to the new drive so i won't have to rebuild all the thumbnails
Are you referring to XYthumbs.txt in the thumbnails folder? I'm quite sure you'll have to do more than just that. Each "*.dat2" cache file has the folder and thumbnail size. XYthumbs.txt is really not much more than a log of thumbnail cache files. Don provided a thumbnail cache rename scripting command, thumbscacherename() specifically for this reason - thumbscacherename() - updates a renamed or moved path in the thumbnails cache. You can use that command or to simplify doing that you can you the Thumbnail Maintenance script here viewtopic.php?f=7&t=12257 which has a menu item "Update Thumbnail DB for Image Folder Relocation".

I've also used a editor capable of binary and changed drive / folder location for saved folder views in "fvs.dat" using simple replace like "D:\" to "G:\" or "D:\Photos" to "G:\Photos".

FKF5482
Posts: 76
Joined: 06 Apr 2019 04:21

Re: Folder view question

Post by FKF5482 » 19 Jun 2020 18:21

I see, thank you for enlightening me klownboy :D

Actually i already have your script and i totally forgot about it lol.

I will let you know how it went once the HDD arrives.

Thanks again my friend!

FKF5482
Posts: 76
Joined: 06 Apr 2019 04:21

Re: Folder view question

Post by FKF5482 » 28 Jun 2020 14:36

Hello again guys, the HDD arrived a few days ago but its problematic :x so i have to return it tomorrow at some point.

I've tried some binary editors to modify the folder views (fvs.dat) but no luck so far. I use "find and replace" and when its done i save it. However they don't seem to be saved properly. When i open the fvs.dat again the old paths are still there.

Did I do something wrong? and also can you please tell me which editor did you used klownboy?

Thanks.

klownboy
Posts: 2961
Joined: 28 Feb 2012 19:27

Re: Folder view question

Post by klownboy » 28 Jun 2020 16:20

Well it's been too long for me. I used and still use AkelPad. I just tried it again and my changes via "replace" did work (i.e., the changes were there when I reopened it), however XYplorer didn't seem to recognize the changes when looking in View > Folder View settings > Manage Folder views (i.e., the old folder was still there). I made sure the changes were done with XY either closed or closed XY without saving. Since it's a binary file, I also made the "replaces" with the same amount of characters (e.g., F:\ to G:\ or "F:\Photos" to "G:\Photos"). I'll experiment some more and let you know if I have any success.

FKF5482
Posts: 76
Joined: 06 Apr 2019 04:21

Re: Folder view question

Post by FKF5482 » 28 Jun 2020 18:49

Many thanks my friend :)

Post Reply