Path: utzoo!attcan!uunet!aplcen!TCS@router.jhuapl.edu From: tcs@router.jhuapl.edu Newsgroups: comp.binaries.ibm.pc.d Subject: Re: Looking for a "move directory" util Message-ID: <0093E925.31554500@router.jhuapl.edu> Date: 22 Oct 90 16:52:32 GMT References: <113913@<1990Oct6> <21700010@sunc1>,<1990Oct17.121151.25287@sun1.ruf.uni-freiburg.de> Sender: news@aplcen.apl.jhu.edu (USENET News System) Reply-To: tcs@router.jhuapl.edu Organization: Johns Hopkins University/APL Lines: 36 In article <1990Oct17.121151.25287@sun1.ruf.uni-freiburg.de>, hartnegg@sun1.ruf.uni-freiburg.de (Klaus Hartnegg) writes: >jaswal@sunc1.cs.uiuc.edu writes: > >>there's a command called mvdir that does what you want. It >>will move an entire subdirectory tree to anywhere else in the same >>filesystem (i.e. not across partitions or physical drives.) >>Judging by the speed, it must recursively move individual files rather >>than copy/deleting them. But unfortunately it still does get really >>slow sometimes. The cost of all the utilities is $20 w/ a decent > >It moves every file separately. That's why it is so slow. >There is a possibility to move multiple files in one step >i.e. much faster but apparently nobody knows how to >use that msdos interrupt (AX=5D00). > >When somebody knows how the destination has to look like so that >this msdos function expands the wildards correct then >please tell me! I'm just working on a faster MVDIR utility. >-- >--------------------------------------------------------------- >Klaus Hartnegg, Kleist-Str. 7, D-7835 Teningen, Tel 07641/48652 >BITNET : HAKL@DFRRUF1 >Internet : HAKL@ibm.ruf.uni-freiburg.de (Realizing this is a little late (just got back from a week in Calif)): I just read the new PC Magazine and there is a utility that moves files around on a fixed disk. I believe there was source too (not sure, usually just browse the mag). Since a directory is just a file with a dir flag, you should be able to remove the flag, move the dir, enable the flag and it'll work. Hmmm, I may just try it for fun. Or you could create the new dir, move every file, remove the old dir. This should also be easy enough to do. (Of course, IMHP[rogrammers]O). Carl Schelin tcs@router.jhuapl.edu