1

I'm using mame roms and some games require extra files to run. The extra files are in folders with matching names to the main rom file. As I have stripped back my rom set to a select few i would also like to do the same with the extra files by only copying the folder and contents that match my list.

I have navigated to the main directory of the extra files and ran the following

xargs -a lightgunroms.txt cp -t test

test is my test folder to copy the data to.

There isn't always going to be a match but i get the following error for all matches -

cp: cannot stat 'a51site4'$'\r': No such file or directory
cp: cannot stat 'alien3'$'\r': No such file or directory
cp: cannot stat 'area51'$'\r': No such file or directory
cp: cannot stat 'area51mx'$'\r': No such file or directory
cp: cannot stat 'bang'$'\r': No such file or directory
cp: cannot stat 'bazooka'$'\r': No such file or directory
cp: cannot stat 'bbh2sp'$'\r': No such file or directory
cp: cannot stat 'bbhcotw'$'\r': No such file or directory
cp: cannot stat 'bbh_160'$'\r': No such file or directory
cp: cannot stat 'bbusters'$'\r': No such file or directory
cp: cannot stat 'bel'$'\r': No such file or directory
cp: cannot stat 'borntofi'$'\r': No such file or directory
cp: cannot stat 'bronx'$'\r': No such file or directory

Sample lightgunroms.txt -

a51site4
alien3
area51
area51mx
bang
bazooka
bbh2sp
bbhcotw
gareth0402
  • 111
  • 8

0 Answers0