> > I suggest you add the 'p' switch as well, to preserve permissions and > ownerships. That is, after all, the problem Jim is trying to solve. > > tar -zcvpf /path/to/name_of_the_file.tar.gz /var/www (to > compress and archive) > tar -zxvpf /path/to/name_of_the_file.tar.gz (to restore from > the archive)
If you do a tar -zcf name_of_file.tar.gz /dir/* it will preserve the permissions. So, isn't the "p" switch optional? Trevor. _______________________________________________ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list