Date: Mon, 20 Nov 1995 22:21:52 -0500 (EST) From: "Marc G. Fournier" <scrappy@hub.org> To: Torbjorn Granlund <tege@matematik.su.se> Cc: freebsd-bugs@freebsd.org Subject: Re: Bogus mv behaviour Message-ID: <Pine.BSF.3.91.951120222005.8172B-100000@hub.org> In-Reply-To: <199511201943.UAA01399@insanus.matematik.su.se>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 20 Nov 1995, Torbjorn Granlund wrote: > When moving directories across filesystems, e.g., "mv SOURCEDIR/A DESTDIR", > if DESTDIR/A exists, SOURCEDIR/A will be made into DESTDIR/A/A. That's very > surprising, in particular when many directories are moved in the same > command, and they end up at different levels. > Why is that surprising? Or do you think that if you do: mv SRCDIR/A-DIR DESTDIR/B-DIR that all the files in A-DIR should be moved into B-DIR itself instead of moving DIR-A into DIR-B? If I mv A-DIR to DESTDIR/A-DIR, I'm expecting that its the directory as a whole I'm moving, not the contents individually... Marc G. Fournier | Knowledge, Information and Communications, Inc (ki.net) scrappy@hub.org | soon to be: | scrappy@ki.net | For more information, send me email.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.91.951120222005.8172B-100000>