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.

Write a Comment