Skip to content

Instantly share code, notes, and snippets.

@dylanhthomas
Created June 18, 2013 16:40

Revisions

  1. dylanhthomas created this gist Jun 18, 2013.
    1 change: 1 addition & 0 deletions change-extension.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    for file in *.html ; do mv $file `echo $file | sed 's/\(.*\.\)html/\1php/'` ; done