• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
1

Is anyone smart enough to know how to avoid duplicate sub-keywords?

Engaged ,
Aug 08, 2023 Aug 08, 2023

Copy link to clipboard

Copied

Is anyone smart enough to know how to avoid duplicate sub-keywords? I am not. I had made phylogenetic keywords originally, in the form, Diptera (FLIES).  I found out, importing to my website, that the proper separation is with commas, and () causes problems.  So I decided to rename to Diptera, FLIES,

 

This is an Order of Insects, and there are Families, Subfamilies and Tribes below this. And there are parents, Arthropods and Insects above.  I was first just trying to work on one family of Bee Flies, Bombyllidae, whose format I thus changed.  But then I found when I checked one of the subkeywords, the same one in the older one would also check.  Likewise with uncheck.  I spent hours, trying to view all the subkeywords and starting over, unchecking all the levels but they still came duplicated.  that when I then went to the parent keyword Diptera and did the same thing, but it made no difference except creating another duplicate of Bee flies in the new format.  Then I selected all the images in the family folder and selected every level and uncheck all the way up to Arthropods. I deleted all levels of duplicate keywords. I I closed and reopened the Bridge and tried again, all to no avail. I had also tried deleting both instances of a subkeyword in the old and new keywords and then putting back in the new and checking.  The old came back with all the levels.. I changed the preference to not apply parents, but the subkeyword still duplicates.keyword dupes.jpgexpand image

TOPICS
Keywords , Problem or error

Views

8.3K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
replies 105 Replies 105
Engaged ,
Oct 01, 2023 Oct 01, 2023

Copy link to clipboard

Copied

Dumb. I am not getting it.  I realized the files before already had the correct format so weren't changed.  but now I tried another copy batch put in the test folder and pasted the above code and then enter.  Window closed and I see the files are unchanged,  

robirdman1_0-1696167162609.pngexpand image

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 01, 2023 Oct 01, 2023

Copy link to clipboard

Copied

@robirdman1 

 

https://exiftool.org/dummies.html

Windows Command Line

Before following the steps below, you must first install exiftool for use from the command line by following steps 1 through 4 in the installation instructions for the Windows Stand-Alone version.

Steps to run exiftool from the command line:

  1. Click the Windows "Start" menu and run the "cmd" application:
    • In Windows XP, select "Run..." from the start menu, then type "cmd" and press ENTER.
    • In Windows 7, search for "cmd" from the "Start" menu, then press ENTER.
    • In Windows 8, move the pointer to one of the right side corners to bring up the side bar, select "Search", and type "cmd" into the search box. Then click on the command-line icon that should appear.
  2. Type "exiftool" followed by a SPACE on the cmd window.
  3. Drag and drop files and folders on the cmd window.
    (This saves you typing the full path names of the files/folders.)
  4. Press ENTER to view the metadata from the files you dropped.

 

 

Here, I have dragged a file from my user account desktop called "file.jpg" into the CMD.exe window to complete the path to the file:

 

2023-10-02_00-44-44.pngexpand image

 

I have ExifTool installed in:

 

C:\Windows\exiftool.exe

 

Note that I am not using the exiftool(-k).exe version, I want access to the full command line functionality.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Oct 01, 2023 Oct 01, 2023

Copy link to clipboard

Copied

This is Windows 11. So I renamed the exiftool(-k) to exiftool.exe.  I moved it to the Windows directory, got a command prompt and typed exiftool with a space and not recognized, so I typed exiftool.exe and got the window.  I dragged a folder and nothing happened.  I dragged the files in the folder to the window and nothing happened. since the icon disappeared from the desktop after moving, I created a new shortcut from where it now is in /Windows and dragged a folder.  There is just a flash while it opens and closes and likewise with a single file. 

robirdman1_0-1696169399715.pngexpand image

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 01, 2023 Oct 01, 2023

Copy link to clipboard

Copied

@robirdman1 


Please look at my example screenshot from Windows. Compare it carefully to yours and note the differences.

 

Also look at my previous static and animated screenshot examples from the Mac, the basic principle is the same, apart from the minor operating system differences.

 

Please refer to my last few posts and read them more than once.

 

Using a CLI tool for the first time isn't easy, but it soon will be!

 

Here is the code again, ensure that it ends in a space:

 

exiftool -P -overwrite_original_in_place "-ExifIFD:DateTimeOriginal>XMP-photoshop:DateCreated" 


Then drag the file or folder into the command prompt window to complete the path and then press enter to execute the command.

 

There are three fundamental components of the command line code:

 

1) The program being called, followed by a space separator (exiftool)

 

2) One or more commands/arguments/flags followed by a final space separator (the code posted above without the faux file path example)

 

3) The full system path to the file or folder to process. The easiest way to enter this is to drag the file or folder into the command prompt window. Otherwise you need to type or paste it in manually and surround it with double quotes if the path contains spaces.

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Oct 01, 2023 Oct 01, 2023

Copy link to clipboard

Copied

When I first had the exiftool(-k) icon on the desktop and dropped folder on it, it opened with files listed and I typed the command but it didn't work.  I went back to the instructions and followed, renaming and putting in the Windows directory and creating a new shortcut on the desktop.  But when I then get the command prompt and drag the folder or files there, I get red slash in circle, so nothing more appears, and I can't do any further steps as nothing is there to work on. If I instead drag to the new shortcut made by dragging from the Windows exiftool.exe then it's just a flash open and close. Is it the path, when it said ' any other directory in your path' ?  Nope, moving exiftool.exe to c"\users\rob, no difference.  Can't drop any folder to window.

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 01, 2023 Oct 01, 2023

Copy link to clipboard

Copied

When you open the command line, do you see this (but with your username)?

gregreser_0-1696178939263.pngexpand image

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Oct 01, 2023 Oct 01, 2023

Copy link to clipboard

Copied

Yes, so then I moved the exiftool over there, still undroppable,

 

robirdman1_1-1696179245229.pngexpand image

 

robirdman1_0-1696179206196.pngexpand image

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Oct 01, 2023 Oct 01, 2023

Copy link to clipboard

Copied

Actually don't get any farther because command without exe not recognized.  With exe, then opens but then can't drop files.

robirdman1_0-1696179422384.pngexpand image

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 01, 2023 Oct 01, 2023

Copy link to clipboard

Copied

To make sure exiftool is working, try a simple command to just read the date.

 

Open the command prompt window, paste in this command (be sure to include the space at the end)

exiftool -DateTimeOriginal 

You should see this:

gregreser_0-1696179570029.pngexpand image

 

Drag a file on to the command prompt window. You should see this (but with your file path):

gregreser_1-1696179679582.pngexpand image

 

Click on the command prompt window to make sure it is the active window and press Enter

You should see this - showing that is has read the Date/Time Original

gregreser_2-1696179775308.pngexpand image

 

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Oct 01, 2023 Oct 01, 2023

Copy link to clipboard

Copied

robirdman1_0-1696180123896.pngexpand image

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 01, 2023 Oct 01, 2023

Copy link to clipboard

Copied

Is exiftool in the Windows directory?

gregreser_0-1696180776322.pngexpand image

 

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Oct 01, 2023 Oct 01, 2023

Copy link to clipboard

Copied

It was as I indicated in picture a couple of posts ago, but when that didn't work, I thought maybe it needed to be in the path of my user name and moved it, with no change in not working.  I can move back again. Picture shown again. Mine says .exe as instructions said to name thus. Win 11.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 01, 2023 Oct 01, 2023

Copy link to clipboard

Copied

Sorry, I meant to say the WINDOWS (main drive) C: directory

gregreser_0-1696182010974.pngexpand image

So one level up from where you have it now.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Oct 01, 2023 Oct 01, 2023

Copy link to clipboard

Copied

In the C: root, it isn't recognized while with ,exe is psays no file specified,

robirdman1_0-1696182533319.pngexpand imagerobirdman1_1-1696182590485.pngexpand image

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 01, 2023 Oct 01, 2023

Copy link to clipboard

Copied

I don't know why you have to include .exe, but it seems to make a difference.

Now, try using .exe then draging a file into the command prompt window so you see the file path.

If dragging and droping doesn't work, you can type the file path directly in the command. Use double quotes around the file path.

gregreser_0-1696184726960.pngexpand image

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Oct 01, 2023 Oct 01, 2023

Copy link to clipboard

Copied

I think that window must have been left from a previous location of the exiftool before some moves, as now in the C: root I get not recognized. 

robirdman1_0-1696185746974.pngexpand image

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Oct 01, 2023 Oct 01, 2023

Copy link to clipboard

Copied

then I tried moving it back to Windows and got something.  but the last line was 'more'. I couldn't drop a file > red slash circle.

When I started to type H as the drive letter for the path, [Option: psfq=<space><ret>] 

robirdman1_0-1696186424089.pngexpand image

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 01, 2023 Oct 01, 2023

Copy link to clipboard

Copied

Curious.

You can try entering the full path to exiftool.exe

In Windows Explorer, go to the directory containing exiftool.exe

Click the path bar to expose the raw path.

 

gregreser_0-1696186221532.pngexpand image

 

Use this at the beginning of your command

 

gregreser_1-1696186369283.pngexpand image

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 01, 2023 Oct 01, 2023

Copy link to clipboard

Copied

I didn't see this post before sending my last reply.

You have got it working!

Now, close that command window, open a new one and enter the whole command. If you can't drop the file, enter the file path manually.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Oct 01, 2023 Oct 01, 2023

Copy link to clipboard

Copied

I had tried while it was back in the windows directory, using C:\windows\exiftool.exe and it didn't work so I put back in C:\ and still the same result 

robirdman1_0-1696187568035.pngexpand image

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 01, 2023 Oct 01, 2023

Copy link to clipboard

Copied

What have there means exiftool is running!

You just have to put in the rest of the command before pressing Enter.

C:\exiftool.exe -DateTimeOriginal YOUR FILE PATH

 

I might know why dragging the file doesn't work for you (red slash circle).

Are you draging the image file on to the exiftool shortcut? You have to drag it into the command prompt window.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Oct 01, 2023 Oct 01, 2023

Copy link to clipboard

Copied

Some success!  Problem maybe with the spaces in the folder path so I moved the test folder and got rid of spaces.

robirdman1_0-1696188585400.pngexpand image

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 01, 2023 Oct 01, 2023

Copy link to clipboard

Copied

Success!

You just have to use double quotes around the file path, then the spaces wont matter.

Now try reading some other properties to get comfortable with it.

exiftool.exe -FileCreateDate

exiftool.exe -CreateDate

exiftool.exe -Keywords

 

Next, try the date fix command on a test file

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Oct 01, 2023 Oct 01, 2023

Copy link to clipboard

Copied

I looked back on the thread and found the date changer and it worked on all the files! Great news.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 01, 2023 Oct 01, 2023

Copy link to clipboard

Copied

That is great news! You can see how exiftool is very fast for big jobs. 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines