Date: Wed, 24 Jan 2007 14:45:05 +0300 From: "Andrew Pantyukhin" <infofarmer@FreeBSD.org> To: "=?UTF-8?Q?Peter_Ankerst=C3=A5l?=" <peter@pean.org> Cc: freebsd-questions@freebsd.org Subject: Re: cp to infinity. Message-ID: <cb5206420701240345g6c40735emf5e9287c7e6da6c2@mail.gmail.com> In-Reply-To: <45B7346F.7090701@pean.org>
index | next in thread | previous in thread | raw e-mail
On 1/24/07, Peter Ankerstål <peter@pean.org> wrote: > > cd test/ > > mkdir foo > > touch bar > > cp -r * foo/ > cp: > > name too long (not copied) > cp: > > name too long (not copied) > > > It seems FreeBSD cp tries to copy the directory to infinity. Is there an > option to avoid this? Sure, just don't copy directories into themselves recursively.home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?cb5206420701240345g6c40735emf5e9287c7e6da6c2>
