Xref: utzoo comp.binaries.ibm.pc.d:9781 comp.os.msdos.misc:413 comp.os.msdos.programmer:1366 comp.sys.ibm.pc.misc:2418 Path: utzoo!attcan!uunet!tut.cis.ohio-state.edu!usenet.ins.cwru.edu!abvax!icd.ab.com!jaz From: jaz@icd.ab.com (Jack A. Zucker) Newsgroups: comp.binaries.ibm.pc.d,comp.os.msdos.misc,comp.os.msdos.programmer,comp.sys.ibm.pc.misc Subject: Re: Looking for a "move directory" utility Message-ID: <1900@abvax.UUCP> Date: 8 Oct 90 13:09:53 GMT References: <1990Oct6.113913.19507@cs.dal.ca> <1990Oct6.180133.2037@ux1.cso.uiuc.edu> Sender: news@abvax.UUCP Reply-To: jaz@icd.ab.com (Jack A. Zucker) Organization: Allen-Bradley Company, Industrial Computer Division Lines: 31 In article <1990Oct6.180133.2037@ux1.cso.uiuc.edu>, gordon@osiris.cso.uiuc.edu (John Gordon) writes: > > Well, I think that the 'mv' command in the MKS Toolkit does what you > want. However, it is not free, but commercial software. But, perhaps other > versions of 'mv' from PD sources will also work. No, the MKS mv will not move a directory to another path. You can rename the directory but you cannot perform true directory moves such as the following: mv /usr/home / I wish you could do this sort of thing from MKS however. I certainly would be interested if someone comes up with a utility to do it. With MKS I usually perform the following inefficient steps: cp -r /usr/home / rm -rf /usr/home Of course it's painfully slow. I want a move that moves only the directory entries. Of course, I've seen utilities that performed a recursive copy, then a recursive delete such as the previous example. -Jaz | Jack A Zucker {cwjcc,pyramid,decvax,uunet}!jaz@icd.ab.com | | Allen-Bradley Company, Inc. or ICCGCC::ZUCKER | | 747 Alpha Drive | Highland Hts., OH 44143 phone: (216) 646-4668 FAX: (216) 646-4484 |