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

Number : 3424 Date : 2003-01-03 Author : jbsjbsjbs Subject : Re: Any way to copy a fixed list of files to another drive? Size(KB) : 4
It sounds as though I might be able to take this approach, of using the /CF switch, and have the lines in my command file /IN include each of the 5000 tracks. I'll have to tinker with it some more... As to similarities in the files, this won't work, unfortunately, since I am pulling 5000 MP3 files out of 15,000 with no common distinguishing features. The files to be selected are tagged in an access database, which is what I use to generate the batch file (or what I'd use to generate the command file for xxcopy). The advantage of using the command file over the batch file is that the DOS COPY command won't recreate the directory structure. If I use xxcopy and the /YY it will create the needed subdirectories. Is there a switch which tells xxcopy to recreate the source file's path when copying, i.e. I could say xcopy c:\1\2\3\4\test.mp3 g: and it would know to copy the file to g:\1\2\3\4\, creating the directories if needed? I see that I can say xxcopy c:\1\2\3\4\test.mp3 g:\1\2\3\4\test.mp3, but I'd like to minimize what needs to be written on the destination side . . . Thanks, everyone! --- In xxcopy@yahoogroups.com, "Wolfe, Jason" wrote: > Hey, > Their are a few different ways to do this. It depends on the files and the situation. Are they all mp3's just do a copy with *.mp3 > Are their files with similar names. You can type part of the name to get all files that have those letters in that order in them. > Beat*. And or if they are a combination of them you could build a list file. Here is a sample list that I built for my backup. > > ::----------------------------------------------- > :: Document files > :: This will grab all the Microsoft apps docs and others and > :: put them into a migration folder (except themy documents folder) > ::----------------------------------------------- > XXCOPY /CFr:\migrate\files\backup\file.lst > > And here is the list file > > :: Source > c:\ > > ::Target > "R:\/%Username%\C\My Documents\migration > > :: Include these files > /IN*.doc > /IN*.xls > /IN*.ppt > /IN*.pdf > /IN*.dot > /IN*.xlt > /IN*.pst > /IN*.dot > > :: Exclude these directories > :: They will be backed up later > > /X"C:\Documents and Settings\%username%\My Documents\*\*" > /X"C:\Documents and Settings\%username%\Desktop\*\*" > /X"C:\Windows\Script.doc" > /X"C:\Windows\ShellNew"\*\*" > > ::Switches > /SGNO /CCY /I /PB20 /Q3 > > > You can include specific files or partial files, like I mentioned earlier, in the include list. > Note: the forward slash on my variable. This is required in a list to be recognized as a variable. > > > > > > > -----Original Message----- > From: jbsjbsjbs [mailto:jason12z@h...] > Sent: Thursday, January 02, 2003 4:08 PM > To: xxcopy@yahoogroups.com > Subject: [xxcopy] Any way to copy a fixed list of files to another drive? > > > New to this forum, so apologies if a very newbie question . . . > > I'm interested in using xxcopy (or another program if xxcopy is not > the right one) to copy a subset of my 15,000 song MP3 directory to an > MP3 jukebox. The file/directory structure will be the same, and I > currently generate a list of the paths and file names from a database > of the 5000 or so that I want to copy. > > Since they are coming from 800 different directories, and often only > some of a given directory is slated for copying, manually selecting > and dragging is not an option. > > My current solution, then, is to create a 5000 line DOS batch file, > where each line consists of something like: > > copy "f:\music\Pop_1-C\Beatles, The\Abbey Road\01 Come > Together.mp3" "g:\Pop_1-C\Beatles, The\Abbey Road\01 Come > Together.mp3" > > and run the batch file. > > My question is, does xxcopy offer any way to load a list of 5000 > files and copy them all? At the very least, I may replace the COPY in > my batch file with XXCOPY, but if there's a way to just point XXCOPY > to a text file listing the target files, that would simplify things > even further. > > Thanks very much, and thanks for a very exciting and promising > program! > > --Jason > > > > Yahoo! Groups Sponsor > > ADVERTISEMENT > > > > Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service . > > > > > [Non-text portions of this message have been removed]
This message if part of XXCOPY's message Archive. The archive contains all the messages posted at Yahoo!Groups: XXCOPY.