CopyBatch

Version 1.0

A simple Windows Batch script that copies file sets from one location to another based on a master list.

Setup

You will need to modify the bat file to include your own paths and to also specify the txt file to use to pull the filenames from.

The txt file should have all of your filesnames without extensions and be seperated on a new line for each entry.

Right click the batch file and choose "edit" Then update the path information at the top of the file (read the comments inside the batch file for further information).

You can run this from any location in a command line. To quickly go to the command line in windows 10 select "File" from the folder menu and choose "Open Command Prompt". This will open a terminal window ready to run "copyBatch" after you've updated your paths.


Example of how it works

Files.txt contents

red
blue
green
orange
purple

Source Art Sources Destination*
red.zip /posters/red.png /posters/red.png
blue.zip /posters/blue.png /posters/blue.png
black.7z /marquees/black.png /marquees/blue.png
green.zip /marquees/blue.png /marquees/orange.png
orange.7z /marquees/orange.png /wheel/purple.jpg
purple.zip/wheel/purple.jpg /snaps/red.png
brown.zip /wheel/white.png /snaps/blue.mp3
white.zip /snaps/red.png red.zip
grey.zip /snaps/blue.mp3 blue.zip
  /snaps/black.png green.zip
    orange.7z
    purple.zip

*once copyBatch has been run

These were excluded as they were not in the Files.txt

/marquees/black.png
/snaps/black.png
black.7z

Download: copyBatch.zip