Skip to content

Instantly share code, notes, and snippets.

@tscanlin
Last active August 29, 2015 14:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tscanlin/e0d2ddaf268d7013d489 to your computer and use it in GitHub Desktop.
Save tscanlin/e0d2ddaf268d7013d489 to your computer and use it in GitHub Desktop.
Find and replace in nodejs:
var fs = require('fs');
fs.readdirSync('.').forEach(function(path) { fs.rename(path, path.split('}').join('')); });
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment