Skip to content

Instantly share code, notes, and snippets.

@Red-Folder
Created September 20, 2013 20:23
Show Gist options
  • Save Red-Folder/6643336 to your computer and use it in GitHub Desktop.
Save Red-Folder/6643336 to your computer and use it in GitHub Desktop.
# Rename the plugin interface versions from .txt to .java
# In my SVN I store as .txt, but in Github I want them to be .java
$path = $env:SOURCEPATH + "\src\com\red_folder\phonegap\plugin\backgroundservice\*.txt"
Dir $path | rename-item -newname { $_.name -replace '\.txt$','.java' }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment