Skip to content

Instantly share code, notes, and snippets.

@mumez
Last active December 16, 2015 21:49
Show Gist options
  • Save mumez/5502693 to your computer and use it in GitHub Desktop.
Save mumez/5502693 to your computer and use it in GitHub Desktop.
A simple [FileMan](https://github.com/mumez/FileMan) script for recursively renaming '*.json' files to '*.ston' files.
'../yourCypressRepository' asDirectoryEntry
allFilesDo: [:each | each rename: (each name copyReplaceAll: '.json' with: '.ston')]
matches: [:each | '*.json' match: each name]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment