[<<]Message[>>]    [<<]Author[>>]    [<<]Subject        [<<]Thread[>>]

Number : 3972 Date : 2003-03-06 Author : Garry Deane Subject : Re: Directory names and create dates Size(KB) : 3
--- In xxcopy@yahoogroups.com, "agentxxl52" wrote: > --- In xxcopy@yahoogroups.com, Jon Hugdahl wrote: > >> I would rename all the directories (ON the MO) to include >> the date stamp within the directory name. >> i.e. P000120 would be renamed to p021224 if p000120 was >> created on 2002/12/24. >> >> If there are a large number of directory, some playing >> around > > That last line I quoted was the understatement of the year > (so far). :) I have about 10 MO cartridges, 800MB each, > hoding about 250 directories each. That's a LOT of renaming > .... I thought of this route as well, but shelved it as a > last resort. Thanks for the reply though - instead it looks > like I'm going to give Kan's obvious suggestion of networking > the machine a go. Although this is definitely a good way to go, your main difficulty with a network approach is trying to find (and get working) a DOS based SERVER so that you can share the MO drive. You can get the client side software free from Microsoft (ftp://ftp.microsoft.com/softlib/mslfiles/MSWGCN.EXE) but I'm pretty sure it doesn't include the server. If you have an old copy of Windows for Workgroups (Win 3.11), I'd suggest that is your best bet. It's small, will run fine on a 486 and provides the server software. I've also used Lantastic for DOS previously and it works but can be finicky to set up and probably impossible to get the DOS version these days. Note that you'll find it easier to use NETBEUI on the DOS machine so you may need to add that protocol to the PC which will access the DOS PC across the lan. If you can't get the network sharing of the MO happening, I think Jon's suggestion of renaming the directories by their dates is a good one. Rather than renaming, I would simply copy the MO directories onto the Jaz drive with a new name made from the original date. This would leave your original names intact in case you need to get back to that data in the future. Using a batch file and a utility such as LMOD (http://home.mnet- online.de/horst.muc/), you can create a 2nd batch file which will get the directory names and dates from the MO drive then invoke xxcopy to copy each directory to a P0yymmdd directory name on the Jaz drive. Here's a rough outline. Check the MOCopy~1.bat file before running it to see that it's going to do what you want. :: MOCopy.bat :: Creates a batch file to copy all directories on D:\* to :: E:\P0yymmdd where yymmdd is the date of the source directory @echo off echo Insert a MO cartridge in D: and a Jaz disk in E: pause echo Creating C:\MOCopy~1.bat echo @echo off > C:\MOCopy~1.bat :: Note that the next lines prior to the "echo .." are one long line :: Make sure that the line doesn't exceed 128 chars. :: Assumes standard DOS 5 directory date format of mm-dd-yy dir d:\ /a:d/o:d|find ""|lmod /L*/S- xxcopy D:\[$1]\ E:\P0[$5] [$3][$4]\ /bu /oaC:\MOCopy.log>>C:\MOCopy~1.bat echo C:\MOCopy~1.bat created echo Type C:\MOCopy~1 to carry out the actual copy Garry
This message if part of XXCOPY's message Archive. The archive contains all the messages posted at Yahoo!Groups: XXCOPY.