14
rated 0 times
[
14]
[
0]
/ answers: 1 / hits: 11837
/ 2 Years ago, thu, july 29, 2021, 11:10:52
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?
More From » command-line