Skip to content

Instantly share code, notes, and snippets.

@hb3p8
Created October 18, 2017 09:09
Show Gist options
  • Save hb3p8/b2fed108bdc063a008f97e2ec4f41cd7 to your computer and use it in GitHub Desktop.
Save hb3p8/b2fed108bdc063a008f97e2ec4f41cd7 to your computer and use it in GitHub Desktop.
for d in */ ; do cp sample.py $d`echo "$d" | sed 's/\(.*\)\..*/\1.py/'`; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment