Skip to content

Instantly share code, notes, and snippets.

View RemRyahirev's full-sized avatar

Andrey Ryakhovskiy RemRyahirev

  • Turkey, Istanbul
View GitHub Profile
@RemRyahirev
RemRyahirev / remove_bom.sh
Created February 20, 2018 10:37
Remove BOM from all affected files in current dir recursive
#!/bin/sh
find . -type f -exec sed 's/^\xEF\xBB\xBF//' -i.bak {} \; -exec rm {}.bak \;