Answer the question
In order to leave comments, you need to log in
How to add the same content to multiple files?
How can you quickly perform this action: you need to duplicate 100 lines with words (they are in one txt file) into other empty txt files with different names, so that, as a result, all files have the same content?
Answer the question
In order to leave comments, you need to log in
If you are using Linux, then in bash this is done in one line:
$ touch {test1,test2,test3}.txt && cat test.txt | tee test1.txt test2.txt test3.txt
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question