2
I'd like to know if it is possible to duplicate a single file to multiple files with a different list of arguments. I have a generic image and I need to make multiple copies of it adding a different country extension to each copy.
I tried optimistically:
cp -r centre-stage-synopsis.jpg centre-stage-synopsis-{en_US,fr_FR,de_DE,da_DK,ru_RU,pt_BR,ro_RO,hu_HU,el_GR,it_IT}.jpg
But it doesn't work. Is there a way to do this in one go?
Cheers
1On a side-note: Why do you want to keep so many copies of a single image? Wouldn't symlinks be better? – Dennis – 2012-07-26T17:47:56.603
It's a bit of a contrived example. I need various copy of the same image to be used wit site locales. Normally images would be different, but on this occasion they are the same. Just the system needs them. – Yannick Schall – 2012-07-26T18:22:33.853