Skip to content

Instantly share code, notes, and snippets.

@jamesacklin
Last active October 13, 2015 00:08
Show Gist options
  • Save jamesacklin/4108641 to your computer and use it in GitHub Desktop.
Save jamesacklin/4108641 to your computer and use it in GitHub Desktop.
Duplicate a file X times and rename it sequentially
for (( i = 0; i <= 100; i++ )); do cp file.html file_$i.html; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment