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


Click here to return to the 'Another Command With Similar Behavior' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Another Command With Similar Behavior
Authored by: bfad on Nov 16, '05 08:41:16AM
To add to the list, ditto also behaves similarily

[ Reply to This | # ]
Ditto and other mistakes by Apple
Authored by: Mattbot on Nov 16, '05 11:42:43AM

Ditto ignores the slash altogether and ONLY copies the contents of the source directory into the destination. Copying the source directory itself isn't possible, only sub-directories.

Ditto is a fine tool for making packages but a crap replacement for cp. Unfortunately, prior to Tiger, ditto was what Mac OS X used for CLI copying of files with resource forks. Which is why I think HFS+ aware cp was one of the biggest improvement in Tiger.

The real debate shouldn't be BSD cp v. GNU cp but why Darwin cp didn't work with HFS+ file systems since at least Mac OS X Beta. Or perhaps even why Apple stays with slow clunky HFS+ in the first place as there are several higher performance file systems available. Having to wait this long for a useful version of the *NIX standard file copying utility was absurd. Way to drop the ball, Apple.



[ Reply to This | # ]