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


Click here to return to the 'A script to rm things to the trash' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
A script to rm things to the trash
Authored by: torkel on Feb 27, '03 04:03:56PM

What about the resource forks? Shouldn't you be using MvMac(1)? Or rather CpMac(1) and then rm, since MvMac alledgedly does not work across file systems.



[ Reply to This | # ]
A script to rm things to the trash
Authored by: TigerKR on Feb 27, '03 08:35:25PM

CpMac is not part of the default Mac OS X 10.2.4 install. Where would I download it?



[ Reply to This | # ]
A script to rm things to the trash
Authored by: TigerKR on Feb 27, '03 08:42:02PM

I found it here: /Developer/Tools/CpMac
and I symlinked it to: /usr/local/bin/CpMac

I have the developers tools installed.



[ Reply to This | # ]
A script to rm things to the trash
Authored by: daveron on Jun 29, '09 08:33:04PM

As of Mac OS X 10.4, the mv command preserves metadata and resource forks
of files on Extended HFS volumes, so it can be used in place of MvMac.
The MvMac command will be deprecated in future versions of Mac OS X.



[ Reply to This | # ]