Created
November 12, 2019 19:35
-
-
Save rsisco/c7bffa03584ac39187dc578a80df67b7 to your computer and use it in GitHub Desktop.
Replace Windows linefeeds with Unix linefeeds en masse
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
zip -qr foo.zip "$@" && unzip -aqo foo.zip && rm foo.zip | |
# Usage: fixascii [files or directories to convert] | |
# Taken from http://hints.macworld.com/article.php?story=20031018164326986 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment