And...putting an emphasis on uid/gid’s for when you really need to keep perms exact:

tar czpvf ../home.tgz --numeric-owner * .*  

Note that you don’t need the "p" when you run this as root.

Blog Logo

Mario Loria


Published

Image

./scriptthe.net

Because 127.0.0.1 gets old after a while.

Back to Overview