Jump to content

Recommended Posts

Using standalone version.

I have done a lot of de-duping within one catalog. The catalog was created from several folders (Win 10)

Now, I have lots of empty folders. How can I delete them without screwing up the catalog, breaking links, etc.

Link to post
Share on other sites
14 hours ago, bobmac1547 said:

How can I delete them without screwing up the catalog, breaking links, etc.

If the catalog shows 0 elements for one or more folders you can easily remove them from the catalog by using a right mouse click:
grafik.png.dc97c338fcc6aadd978998cb6dde7e5e.png

Next you will get a choice to either remove the folder, but leave it (empty) on disk, or "delete empty sub-folders from disk". However, the latter I would do only after crosschecking with Windows explorer.
grafik.png.57d72e12fac1ed17b18e92e23010ff58.png

Link to post
Share on other sites

Thank you. But I should have been more explicit in my question...

I do know how to do what you suggested. However, I have many empty folders. I don't believe there's a way to delete them "in bulk" in Daminion. However, I use an Explorer alternative (XYPlorer, which I highly recommend!) that can find empty folders and delete them en masse. The issue would be messing up the Daminion catalog.

Can I delete them in Windows and then "rescan" the folder structure in Daminion to "resync?"

Sorry if I'm not being very clear...

Link to post
Share on other sites
9 hours ago, bobmac1547 said:

I don't believe there's a way to delete them "in bulk" in Daminion.

Depends on how complicated your folder structure is. First make sure to select "Display Number of Assigned Files" in the settings of the Tags Tree:
grafik.png.78baa4a4eca5d164fd6c2a5da2e66ae7.png

Then you can select more than one folder to remove using the Ctrl or Shift key.

9 hours ago, bobmac1547 said:

Can I delete them in Windows and then "rescan" the folder structure in Daminion to "resync?"

Based on my own experience, this should not be any problem and "rescan" is not really needed. You would still see the folders in your catalog, possibly with a wrong Number of of Assigned Files.  If you do a rescan (right mouse click -> F6) on a higher level folder, you can select "Remove Missing Files from Catalog":
grafik.png.b294e6f0a837dc1fb936931ad4d93e4e.png

This does remove the non existing folders from the Daminion catalog, but also the pointer to any "orphan" images Daminion was falsely "believing" to be inside those folders.

If however, you deleted a folder and Daminion still has pointers to orphans, the thumbnail will show a question mark in the upper left corner (but only after refresh Ctrl-B or trying to open it in full screen:
grafik.png.b3b3751d054197b586b3790664d32294.png

In this case, you can either remove that image from the catalog, or if it was moved or renamed, do a right mouse click on thumbnail an Actions -> Relink Item... and navigate to the correct folder and file:
grafik.png.e4863bc4ca85b0fdfdfc88f71a24270a.png

I simulated the above situation by temporarily renaming the file, but moving it to a different folder would be the same process.

As far as I know, there is no way in Daminion to find all of "Orphans" in the catalog. So, if you made a mistake, you can have several images in the catalog, which were renamed or moved outside of Daminion and Daminion cannot find them anymore.

Link to post
Share on other sites

Thanks, deanable...

Nice little utility there...

When you say "rescan the root folder" are you referring to the root folder in Daminion? Do you right-click the folder and choose "Rescan Folders..."? And which checkboxes do you check/clear?

Thanks for your help!!!

Link to post
Share on other sites
On 3/23/2021 at 9:06 PM, bobmac1547 said:

Thanks, deanable...

Nice little utility there...

When you say "rescan the root folder" are you referring to the root folder in Daminion? Do you right-click the folder and choose "Rescan Folders..."? And which checkboxes do you check/clear?

Thanks for your help!!!

Leave all 3 checked if you want the catalog to match the disk.

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...