The command touch {jan,feb,mar}-{Rep.xls,graph.xls} creates files I can't open:
feb-graph.xls jan-Rep.xls feb-Rep.xls mar-graph.xls jan-graph.xls mar-Rep.xls
So I created one template file 1.ods, saved with OO-Calc. Then I tried to copy this file using cp again in the same fashion as cp:
cp 1.ods {jan,feb,mar}{Rep.ods,graph.ods}
but that doesnt work:
cp: target `margraph.ods' is not a directory
How do I copy a single file to multiple files?
cpit assumes you want to copy a lot of files to the last one -- which is then expected to be a directory; hence your error. – nik May 26 '11 at 15:19