in Projects, Programming, Technology – A caution on using command-line zip for backups

To archive and compress a folder foo and all of its subfolders, one can do:

$ /usr/bin/tar cjvf foo.tbz foo

And to restore it, one can do:

/usr/bin/tar xjvf foo.tbz

This seems to preserve the resource forks correctly.

What do you think?

This site uses Akismet to reduce spam. Learn how your comment data is processed.