Created
May 21, 2020 21:56
-
-
Save bboydflo/22c1dd85f72bbe44071a1d3bae5b58ba to your computer and use it in GitHub Desktop.
[cmd] duplicate file multiple times from #cli
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for i in {1..100}; do cp -rvfp file.json copy$i.json ;done |
It's a command I saved so I can remember how to duplicate a file from the command line (can be used in unix systems.) I found it somewhere on stackoverflow.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
what it is?)