Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pax strangeness?



On Tue, 15 Apr 2008 18:20:22 -0700 (PDT)
Paul Goyette <paul%whooppee.com@localhost> wrote:

> Using a fairly current (4.99.55) system, I attempted to duplicate a 
> directory using pax.  I've done this many times before, and it's always 
> worked, but now it seems to complain...

Are you sure you did the exact same? I think it always worked like that.

>       # cd /some/path
>       # mkdir new
>       # cd new
>       # pax -rw -p e ../old ./
>       pax: Ignoring file containing `..' (../old/somefile)
>       ...
> Is the new behavior correct?  Desired? Is there a better way to
> replicate a directory tree?

cd old && pax -rw -pe . ../new/

Kind regards
dieter


> ----------------------------------------------------------------------
> |   Paul Goyette   | PGP DSS Key fingerprint: |  E-mail addresses:   |
> | Customer Service | FA29 0E3B 35AF E8AE 6651 |  paul%whooppee.com@localhost  
>  |
> | Network Engineer | 0786 F758 55DE 53BA 7731 | 
> pgoyette%juniper.net@localhost |
> ----------------------------------------------------------------------
> 


Home | Main Index | Thread Index | Old Index