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

Shell script for copying files and resource forks UNIX
Lots of people have been complaining or commenting on how there is no way to use the 'tar' command to backup, share, archive, copy, etc. files on the Mac that have resources and desktop information. Well after a few days of trial and error I have found a way.

I call it "tarw" - The tar Wrapper.

tarw is essentailly a perl script that uses the tar command to archive files individually. This allows you to archive resource forks, desktop files any data that you can get your hands on essentially. The current version simply ads support for resource forks and desktop information like creator, type and attributes. In the future who knows what is possible.

I have placed a gzipped file "tarw.tgz" on my iDisk you are free to download at:

To use the program, simply download and extract it. There is a readme file included with it.
Please provide feedback to this posting or if you like e-mail me I would love to hear what people have to say about it.

Good Luck and long live the Mac.

[Editor's note: I haven't tried this myself yet, but it sounds like a handy command-line utility!]
  • Currently 0.00 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (0 votes cast)

Shell script for copying files and resource forks | 1 comments | Create New Account
Click here to return to the 'Shell script for copying files and resource forks' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Bug Fixes
Authored by: mouellette on Jun 29, '01 09:45:56PM

After doing some more testing I found some significant bugs from memory leaks to desktop attributes not being applied. I have resolved all of the buges that I have been able to find. and have done plenty of testing on this version. I have uploaded a new version (tarw_1.0.5.tgz) to my iDisk please download it and replace the old version.

Sorry for the delay and problems

[ Reply to This | # ]