[comp.binaries.ibm.pc.d] Looking for a "move directory" util

jaswal@sunc1.cs.uiuc.edu (10/15/90)

There are a bunch of UNIX-ish utilities made by MIX Software,
called the C/Utilites Toolchest.  This has the same sort of things
as MKS Toolkit.  e.g. mv, ls, sh, grep, sed, ...  In particular,
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
manual, and $30 extra for ALL the source.  It's a great deal, at
least I'm a happy customer.

Write to 
MIX Software
1132 Commerce Drive
Richardson, TX 75081
(214) 783-6001

hartnegg@sun1.ruf.uni-freiburg.de (Klaus Hartnegg) (10/17/90)

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

tcs@router.jhuapl.edu (10/22/90)

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

ts@uwasa.fi (Timo Salmi) (10/27/90)

Fri 26-Oct-90: A couple of weeks ago there was much discussion in
the UseNet news about utilities which would move entire directories
for MsDos (in a similar way as mv does for Unix).  Two main
suggestions came up repeatedly.  The first was to use an MsDos
equivalent of Unix mv.  Many users pointed out that the Picnix
utilities (picnix3a.zip, picnix3b.zip, and picnixup.zip) contain
Unix like commands for MsDos.  Another solution that was suggested
was a program called prune.  Such a utility has been published by Pc
Magazine's ever skilful contributor Michael Mefford.  I have made
this prune utility available at uwasa.fi archives as
/pc/pd2/prune10.zip. 

...................................................................
Prof. Timo Salmi        (Moderating at anon. ftp site 128.214.12.3)
School of Business Studies, University of Vaasa, SF-65101, Finland
Internet: ts@chyde.uwasa.fi Funet: gado::salmi Bitnet: salmi@finfun