[Alug] tar and gzip

Douglas Willis ddw at bas.ac.uk
Thu Sep 19 12:33:01 BST 2002


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 at 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 at 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 at nerc-bas.ac.uk) 
British Antarctic Survey 
High Cross, Madingley Road 
Cambridge, CB3 0ET, United Kingdom 
tel: +44 1223 221400, fax: +44 1223 362616






More information about the main mailing list