Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'cp -R and rsrc forks' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
cp -R and rsrc forks
Authored by: googoo on Apr 14, '04 02:49:24PM

cp does not copy resource forks, but cp -R seems to do so! Maybe it works because the resource fork looks like a file in a subdirectory. For example if the filename is file1, its resource fork is file1/rsrc. Try using

% ls file1/rsrc

on a file that you know has a resource fork. Now try

% cp -R file1 another/location

Go to another/location and list its resource fork. It is there!

-Mark

[ Reply to This | # ]