delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/11/14/04:12:15

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
To: Tony Clayton <apc AT e-smith DOT com>
Cc: cygwin AT cygwin DOT com, bug-fileutils AT gnu DOT org
Subject: Re: cygwin 1.5.3: "/bin/mv dir dir" results in recursive-loop copy
In-Reply-To: <20031112161255.GS5171@e-smith.com> (Tony Clayton's message of "Wed, 12 Nov 2003 11:12:55 -0500")
References: <20031112161255 DOT GS5171 AT e-smith DOT com>
From: Jim Meyering <jim AT meyering DOT net>
Date: Fri, 14 Nov 2003 10:11:58 +0100
Message-ID: <85smkrqppd.fsf@pi.meyering.net>
Lines: 27
MIME-Version: 1.0

Tony Clayton <apc AT e-smith DOT com> wrote:
> in cygwin 1.5.3, I got the following error after a moment:
>     mv: cannot create directory `src/src/src/src/src/src/src [...] /src':
>     Invalid argument

mv (from any recent coreutils package)
works fine in that case on unix systems.

> I think it is the MAX_PATH=256 limitation that finally brings this to a
> halt.  Each of the subdirectories contains all the source files and a src
> directory.
>
> Running "mv --version shows:
>     mv (fileutils) 4.1
>     ...

fileutils-4.1 is quite old.
I suggest you use something newer

STABLE
  ftp://ftp.gnu.org/gnu/coreutils/coreutils-5.0.tar.gz
  ftp://ftp.gnu.org/gnu/coreutils/coreutils-5.0.tar.bz2
  (coreutils is the union of fileutils, textutils, and sh-utils)

BETA
  ftp://alpha.gnu.org/gnu/coreutils/coreutils-5.0.91.tar.gz
  ftp://alpha.gnu.org/gnu/coreutils/coreutils-5.0.91.tar.bz2

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019