I have a single file (a PDF) and I want to have lots of identical copies in the same folder (200 would be nice) named
How do I do it?
You could do something like
however if the medium becomes unreadable it will not matter how many copies are on it - fundamentally backups require diversity.
This is the classic case where shell tricks help a lot.
And I know it's a joke, but if you want a random
(multiple line to help readability...)
To make a single duplicate of a file you probably know that you can use
Now, to make more duplicates to a file, you can combine
As always, the python truck comes late, but:
make it executable, drag it over a terminal window, drag the file to copy over the terminal window and set the number of copies:
The number of leading zeros is set automatically, the files are named