メインコンテンツへスキップ

⚠️ Please note that this topic or post has been archived. The information contained here may no longer be accurate or up-to-date. ⚠️

Imported photos inside the catalog by mistake

コメント

4件のコメント

  • Eric Valk
    I can fairly easily write an Applescript that will either chack a collection or some selected images and make a list of those in the catalog.
    Are you comfortable running an Applescript?
    0
  • Benjamin Liddle
    [quote="jdmuys" wrote:
    Hi,

    Newbie here. My catalog is on my Mac's internal SSD, which is small and cramped, so I keep all my photos on an external hard drive and the catalog is a referenced catalog.

    At least that's I wanted to do. I noticed that my catalog is using 37.42 GB of disk space. And when I control-click it>Show Package Content, I see that its Original directory is using 34 GB for 495 items (stored in a not so obvious hierarchy). Looking inside it, it appears obvious that I mistakenly imported a few series of photos inside the catalog instead of on location.

    So I am posting to inquire about how to fix this efficiently. This begs a few related but different questions:

    1- How can I fix the mistake, assuming I can easily identify in the catalog the concerned photo collections? This means two things: first pointing the collections to the correct location on the external drive where my originals reside. And second removing the space-wasting originals in the catalog in a clean way (sure I can use the Finder for that).

    2- How can I identify the concerned photo collections? Is there a way to filter/find photos on whether they reside inside the catalog? The best I found is to right click an individual photo, and if it is inside the catalog, then the menu items "Show in Finder" and "Show in Library" are disabled (greyed out).

    3- How can I identify the concerned imports (assuming they are still in the "Recent Imports" list). Is there a way to examine the import parameters after the import is done?

    4- What can I do to help me avoid doing the same mistake in the future when importing photos? Any way to get an error or warning before importing photos inside a catalog that contains only references?

    In my case, I am lucky that I can 1- easily identify where the concerned photos are from looking at them in the Originals folder, and 2- I can delete the photos completely and import them again as I have just done some exploratory work, and not much editing. But I bet I will do the same mistake again in the future and in less forgiving circumstances.

    Thanks a lot

    Jean-Denis


    You can drag/drop images from the Catalog collection in the Folders section of the Library tool to another location, on the disk, where you'd prefer. This will move the source images as well as keep the adjustments linked up.
    0
  • jdmuys
    Yes, very comfortable with Applescript (I'm an Apple Developer)

    Thanks,

    JD
    0
  • Eric Valk
    Ahh, OK, then I will calibrate the level of detail accordingly.

    First you need to get a list of all the variants in the document (collection 1 is the "All Images" collection)
    tell application "Capture One 11" to set variant_count to count of every variant of collection 1 of document 1
    Then we cycle through every variant and try to retrieve the the location of the file. The file location is a property of the image which is the parent of the variant. If the file is in the catalog, then the file location will be "missing value".
    repeat with variant_counter from 1 to variant_count
    tell application "Capture One 11"
    set imageFilePath to path of parent of variant variant_counter
    if imageFilePath = missing value then log (get name of variant variant_counter)
    end tell
    end repeat

    This code snippet will simply log the image or variant names which are stored in the catalog into the Script Editor log.

    With a little refinement, you could add the the found variants to the selection, or probably better create an album for this purpose and copy the found variants to this album. (they will still be in the all Images collections, as well as every other collection where they are present).

    Now select all the images in the Capture one catalog (manually, with CaptureOne ) and drag these to some OSX folder.

    The next question is, do you want to a) delete the orginal image files no longer connected with Capture One and replace them with the image files pulled out off the catalog, or b) do you want to reconnect the images in the Capture One Catalog with the original image files. Depends on your working strategy and backup strategy.

    If a) then you're almost done, and you might just need to do a little reorganisation of folders.

    If b) and you want to reconnect the Capture One images/variants to the original files, one way would be to stop Capture One, and rename the OSX folder containing the newly extracted image files.

    Now restart Capture One, and it will have lost the location of the image files. All of the images in the Capture One album created above will behave as if the image files are off line. Now use the locate function of Capture One to reconnect the Capture One variants to the original Image file in OSX

    This can be done by groups of images that all come from the same OSX folder, that's less tedious than one image at a time.

    Once you have reconnected the Capture One images to the originals, you can then delete the OSX folder of image files moved out of the catalog.

    I should mention that in the Capture One Scripting forum I have published a couple of Applescripts which 1) find all the images in a catalog which are not connected to an image file somewhere, and 2) which find all the collections containg a given variant.

    These scripts also contain some useful "boilerplate" functions which obtain and validate the current document, and the current collections, and provide logging to a TextEdit file.
    0

投稿コメントは受け付けていません。