Skip to content

Instantly share code, notes, and snippets.

@ian29
Last active December 11, 2015 18:38
Show Gist options
  • Save ian29/4642985 to your computer and use it in GitHub Desktop.
Save ian29/4642985 to your computer and use it in GitHub Desktop.
ls foo.* | awk '{print("mv " $1" "$1)}' | sed 's/foo/bar/2' | /bin/sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment