Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //link https://yadi.sk/i/8_BwfSpbmRGpMA
- #!/bin/bash
- IFS=$'\n'
- for y in `find . -type d`; do
- file="$y/*.*"
- for t in $file; do
- case $t in
- *.txt|*.c|*.h|*.html)
- enca $t -L russian
- enconv $t -x utf8
- ;;
- esac
- done
- done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement