Hullo list, When a directory is tarred and gzipped, will it also include any symlinked directories? e.g first directory to be gzipped is /home/jenny, which contains a link to /var/www second directory to be gzipped is /var/www Tarball is created from both these directories. Burning Q: are the files in /var/www being saved in the tarball twice? Jen.
Usually the symlink itself is added to the tar not what it points to. To test this use tar tvzf <my_first_filename> |grep www It will show you what is in the first tar ball. You should only see the symlink entry not the data the symlink points to. On Thu, 2002-09-19 at 10:33, Jenny_Hopkins@toby-churchill.com wrote:
Hullo list, When a directory is tarred and gzipped, will it also include any symlinked directories? e.g first directory to be gzipped is /home/jenny, which contains a link to /var/www second directory to be gzipped is /var/www Tarball is created from both these directories. Burning Q: are the files in /var/www being saved in the tarball twice? Jen.
_______________________________________________ main@lists.alug.org.uk http://www.alug.org.uk/ http://lists.alug.org.uk/mailman/listinfo/main Unsubscribe? See message headers or the web site above! -- Douglas Willis (ddw@nerc-bas.ac.uk) British Antarctic Survey High Cross, Madingley Road Cambridge, CB3 0ET, United Kingdom tel: +44 1223 221400, fax: +44 1223 362616
Jenny_Hopkins@toby-churchill.com <Jenny_Hopkins@toby-churchill.com> wrote:
When a directory is tarred and gzipped, will it also include any symlinked directories?
Depends on the options given to tar. Look through the man page for things about dereferencing and following. MJR
participants (3)
-
Douglas Willis -
Jenny_Hopkins@toby-churchill.com -
MJ Ray