File not found error / No writable tags set error

Started by RagerPick, June 20, 2023, 08:21:41 PM

Previous topic - Next topic

RagerPick

So I just started using these amazing program and I'm really satisfied. I used it on an SD-card filled with RAW footage so I could categorize. Ive used the following command for this:

exiftool '-directory<%d/${datetimeoriginal}' -d %d-%m-%Y /Volumes/EOS_DIGITAL/DCIM/101CANON/12-2022
These are the errors I get:
Warning: Error opening file - /Volumes/EOS_DIGITAL/DCIM/101CANON/09-2022/._IMG_0746.CR2
Error: File not found - /Volumes/EOS_DIGITAL/DCIM/101CANON/09-2022/._IMG_0746.CR2

I should note that I didn't specify what to search for in the first place. Just everything in the directory.

Besides my filenames do not start with ._
So its not
._IMG_0746.CR2but
IMG_0746.CR2
Fortunately while I receive these errors all my files still get into the new folder. Im just curious why this error occurs

ericconn

These "._" files are hidden files created by the Mac OS, I think containing metadata about the original file named after the "._". I believe you could create an -if statement to ignore them from trying to be processed, or just ignore them after the fact.

StarGeek

"It didn't work" isn't helpful. What was the exact command used and the output.
Read FAQ #3 and use that cmd
Please use the Code button for exiftool output

Please include your OS/Exiftool version/filetype

Phil Harvey

Quote from: StarGeek on June 22, 2023, 01:02:44 PMSee this thread.

There is a more up-to-date feature to allow you to ignore hidden files.

Add this to your command:  -i HIDDEN

"HIDDEN" must be all caps.

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

RagerPick

Quote from: ericconn on June 22, 2023, 09:12:29 AMThese "._" files are hidden files created by the Mac OS, I think containing metadata about the original file named after the "._". I believe you could create an -if statement to ignore them from trying to be processed, or just ignore them after the fact.
Why do these metadata files get created? And why does it only happen for a few files? And why does it know it's there but still says not found?

Phil Harvey

Quote from: RagerPick on June 27, 2023, 07:47:12 AMWhy do these metadata files get created?

They are the Apple resource fork and are used on filesystems that don't support resource forks.  Apple uses them to store extended file attributes.

QuoteAnd why does it only happen for a few files?

Because not all files have extended attributes.

QuoteAnd why does it know it's there but still says not found?

This doesn't happen to me so I can't say for sure but it could be a permission problem.

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).