Skip to content

Instantly share code, notes, and snippets.

@joeybaker
Created April 12, 2012 16:02
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 joeybaker/2368608 to your computer and use it in GitHub Desktop.
Save joeybaker/2368608 to your computer and use it in GitHub Desktop.
tolf
alias tolf="find . -type f -not -iname '*.png' -not -iname '*.jpg' -not -iname '*.jpeg' -not -iname '*.gif' -not -iname '*.tif' -not -iname '*.tiff' -not -iname '.git' -exec perl -pi -e 's/\r\n?/\n/g' {} \;"
Copy link

ghost commented Apr 16, 2012

where do I find the bash_profile, or bash_tolf.sh file? Im using windows... thanks

@joeybaker
Copy link
Author

@arfanti – this is a script designed for *nix environments. I'm not sure you'd event want to run this on windows.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment