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


ditto | 12 comments | Create New Account
Click here to return to the 'ditto' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
ditto
Authored by: Graff on Apr 14, '04 01:57:31PM

Use ditto instead. It's part of the default install and it handles resource forks and metadata. You use the --rsrc flag to tell it to handle the resource forks and metadata. In this hint you would replace the line:

cp -R ~/FolderX ~/EnclosingFolder

with

ditto --rsrc ~/FolderX ~/EnclosingFolder



[ Reply to This | # ]