Skip to content

Instantly share code, notes, and snippets.

@angelo
Created January 29, 2011 03:12
Show Gist options
  • Save angelo/801468 to your computer and use it in GitHub Desktop.
Save angelo/801468 to your computer and use it in GitHub Desktop.
makes all text files use unix line endings
#!/bin/sh
find . -type f -print | xargs file | grep text | cut -f1 -d: | while read i
do
flip -u $i
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment