Ok, this is admittedly really noobish. But it's something I always forget. While the tar -xzvf spell for unpacking archives is well known, only seldomly I need to create archives.
However, here's the magic:
tar -pczf name_of_archive.tar.gz /path/to/directory
No comments:
Post a Comment