ExifTool Forum

ExifTool => The "exiftool" Application => Topic started by: RagerPick on June 20, 2023, 08:21:41 PM

Title: File not found error / No writable tags set error
Post by: RagerPick on June 20, 2023, 08:21:41 PM
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
Title: Re: File not found error / No writable tags set error
Post by: ericconn on June 22, 2023, 09:12:29 AM
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.
Title: Re: File not found error / No writable tags set error
Post by: StarGeek on June 22, 2023, 01:02:44 PM
See this thread (https://exiftool.org/forum/index.php?topic=6849.0).
Title: Re: File not found error / No writable tags set error
Post by: Phil Harvey on June 27, 2023, 07:26:31 AM
Quote from: StarGeek on June 22, 2023, 01:02:44 PMSee this thread (https://exiftool.org/forum/index.php?topic=6849.0).

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
Title: Re: File not found error / No writable tags set error
Post by: RagerPick on June 27, 2023, 07:47:12 AM
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?
Title: Re: File not found error / No writable tags set error
Post by: Phil Harvey on June 27, 2023, 08:12:06 AM
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