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


Click here to return to the 'yes, this is the preferred way to do it' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
yes, this is the preferred way to do it
Authored by: garbanzito on Aug 06, '03 11:25:48PM
... since all it changes is the resource fork.. approaches with cp etc. are more cumbersome, and can lose other info that doesn't take extra space or complicate file transfers.. they will even fail under certain circumstances (such as too little space, permissions problems ...)

if you are writing this into a script, or reading this years later, you'll want to use the non-deprecated form "/..namedfork/rsrc".. another way to express this is:

cat /dev/null >filename/..namedfork/rsrc

and yes, emptying a resource fork is all that's needed (technically, you can never really delete a resource fork on HFS+)

[ Reply to This | # ]