Skip to content

Instantly share code, notes, and snippets.

@BenjaminKobjolke
Created October 27, 2014 21:47
Show Gist options
  • Save BenjaminKobjolke/626d2c522385a1b6aaba to your computer and use it in GitHub Desktop.
Save BenjaminKobjolke/626d2c522385a1b6aaba to your computer and use it in GitHub Desktop.
Copy loop
#!/bin/bash
DIRPATH=$(dirname "$0")
FILEPATH="${DIRPATH}/Sample-UISearchController/Resources/assets/images/xida_logo"
for i in `seq 1 30000`;
do
cp "${FILEPATH}.png" "${FILEPATH}${i}.png"
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment