![]()
[<<]Message[>>] [<<]Author [<<]Subject[>>] Thread[>>]
Number : 3421 Date : 2003-01-03 Author : Wolfe, Jason Subject : Re: Any way to copy a fixed list of files to another drive? Size(KB) : 2
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.