Re: tar up a symbolic linked directory

2009-05-04 Thread Douglas A. Tutty
On Sun, May 03, 2009 at 11:23:33PM -, Cameron Hutchison wrote: Douglas A. Tutty dtu...@vianet.ca writes: On Sat, May 02, 2009 at 09:04:38PM +, T o n g wrote: I want to tar up a symbolic linked directory as if it is a real directory. Is there any easy way to do it? Let me explain

Re: tar up a symbolic linked directory

2009-05-04 Thread T o n g
On Mon, 04 May 2009 13:48:07 -0400, Douglas A. Tutty wrote: I want to tar up a symbolic linked directory as if it is a real directory. Is there any easy way to do it? Let me explain with an example (that you can try). . . I can't see that it would be possible to dereference the top

Re: tar up a symbolic linked directory

2009-05-03 Thread Douglas A. Tutty
On Sat, May 02, 2009 at 09:04:38PM +, T o n g wrote: Hi, I want to tar up a symbolic linked directory as if it is a real directory. Is there any easy way to do it? Let me explain with an example (that you can try): mkdir d1 touch d1/{a,b,c} ln -s c d1/d ln -s d1 d2 I want

Re: tar up a symbolic linked directory

2009-05-03 Thread Cameron Hutchison
Douglas A. Tutty dtu...@vianet.ca writes: On Sat, May 02, 2009 at 09:04:38PM +, T o n g wrote: Hi, I want to tar up a symbolic linked directory as if it is a real directory. Is there any easy way to do it? Let me explain with an example (that you can try): mkdir d1 touch d1

tar up a symbolic linked directory

2009-05-02 Thread T o n g
Hi, I want to tar up a symbolic linked directory as if it is a real directory. Is there any easy way to do it? Let me explain with an example (that you can try): mkdir d1 touch d1/{a,b,c} ln -s c d1/d ln -s d1 d2 I want that the result tar file looks like this: tar -tvzf d2.tgz

tar up a symbolic linked directory

2009-05-02 Thread T o n g
Hi, I want to tar up a symbolic linked directory as if it is a real directory. Is there any easy way to do it? Let me explain with an example (that you can try): mkdir d1 touch d1/{a,b,c} ln -s c d1/d ln -s d1 d2 I want that the result tar file looks like this: tar -tvzf d2.tgz drwxrwx