Last active
December 28, 2022 06:15
-
-
Save hongjonghwa/37021a58e569cc423e6504b4e52be334 to your computer and use it in GitHub Desktop.
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
# 1) remove ^M | |
find . -type f | xargs -Ix sed -i.bak -r 's/\r//g' x | |
# 2) delete *.bak | |
find . -type f -name '*.bak' | xargs -Ix rm x |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment