I have a set of files from an application of type “com.apple.package”, each containing one rtfd file (no contents folder like a bundle). I want to duplicate that internal file to an external folder, but so far have failed to do so in any form of plain vanilla AppleScript.
In the Finder, “Show Package Contents” works as expected, and double-clicking the enclosed file opens it in TextEdit. Just appending that file name to the path to the package file fails and telling TE to open it fails.
The posix path to the internal file does work, for example, with mdls. Am I forced to extract and duplicate all of these files with shell script calls, and if so, why?