Hi Phil,
I tried to delete the Mac OS resource fork of some JPG files that I want to use
under a different file system (FAT32) on my USB stick.
In the Mac OS X Terminal application I wrote the following command-line:
exiftool -rsrc:all= -r /Users/Arni/Desktop/Test
..and got the following output:
mac-pro:~ Arni$ exiftool -rsrc:all= -r /Users/Arni/Desktop/Test
1 directories scanned
0 image files updated
5 image files unchanged
mac-pro:~ Arni$
The command seems not to be executed. Why?
Arni
Hi Arni,
If the file was unchanged by that command, then it didn't have a resource fork.
To see if the files contain a resource fork, do this:
ls -l@ /Users/Arni/Desktop/Test
The resource fork will be listed as "com.apple.ResourceFork". There may be other forks ("com.apple.FinderInfo" for example) that are not accessible by ExifTool.
- Phil
Hi Phil,
I think you are right. The files seem not to have any resource fork.
Does ExifTool in any case add a resource fork to a file if there does no one exist before?
(For example, if I was using the -overwrite_original option)
Arni
Hi Arni,
ExifTool never adds a resource fork. ExifTool only preserves the existing resource fork when rewriting a file. All other forks are removed unless the -overwrite_original_in_place option is used.
- Phil
Thank you very much for the information, Phil.
Best regards,
Arni