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


Click here to return to the 'Developer Tools: SetFile' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Developer Tools: SetFile
Authored by: sardu_mac on Jan 03, '03 11:03:40AM
manpage: http://www.hmug.org/man/1/SetFile.html SetFile in "/Developer/Tools" can set type/creator on files. There are several handy programs in that directory for people looking for Terminal-based solutions to similar problems. Accessing a resource fork (to copy/delete/whatever) is simple, add "/rsrc" onto the end of the file path in the Terminal: % ls -l Finder -rwxrwxrwx 1 user unknown 1914636 May 29 2001 Finder % ls -l Finder/rsrc -rwxrwxrwx 1 user unknown 524729 May 29 2001 Finder/rsrc I think this 'file-as-folder' hack is part of HFS+, not sure.

[ Reply to This | # ]