Skip to content

Instantly share code, notes, and snippets.

@irnnr
Last active October 7, 2015 20:27
Show Gist options
  • Save irnnr/c6f308c5829caec2aeb6 to your computer and use it in GitHub Desktop.
Save irnnr/c6f308c5829caec2aeb6 to your computer and use it in GitHub Desktop.
#!/usr/bin/env bash
find . -name "ChangeLog" \
-o -name "Changelog" \
-o -name "LICENSE" \
-o -name "README" \
-o -name "*.php" \
-o -name "*.inc" \
-o -name "*.txt" \
-o -name "*.log" \
-o -name "*.ts" \
-o -name "*.htm" \
-o -name "*.html" \
-o -name "*.tmpl" \
-o -name "*.js" \
-o -name "*.css" \
-o -name "*.less" \
-o -name "*.scss" \
-o -name "*.sql" \
-o -name "*.xml" \
-o -name "*.jsb" \
-o -name "*.csv" \
-o -name "*.svg" \
-o -name "_.htaccess" \
-o -name "*.patch" \
-o -name "*.diff" \
-o -name "*.vcf" \
-o -name "*.ical" \
-o -name "*.srt" \
-o -name "*.htc" \
-o -name "*.ldif" \
-o -name "*.old" \
-o -name "*.bak" \
-o -name "ext_php_api.dat" \
-o -name "wizard_form.dat" \
| xargs dos2unix
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment