Date: Mon, 20 Nov 1995 20:43:14 +0100 From: Torbjorn Granlund <tege@matematik.su.se> To: freebsd-bugs@freebsd.org Subject: Bogus mv behaviour Message-ID: <199511201943.UAA01399@insanus.matematik.su.se>
next in thread | raw e-mail | index | archive | help
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. I could accept that the contents of SOURCEDIR/A be merged into DESTDIR/A (possibly after user confirmation), or that mv simply refused to move such directories. Torbjorn
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199511201943.UAA01399>