mod2hexdump.sh 170 B

123456
  1. #!/bin/bash
  2. for i in *.mod; do xxd -p "$i" > "$i"txt_t ; done
  3. for i in *.modtxt_t; do dd if="$i" of="$i".modtxt conv=ucase ; done
  4. for i in *.modtxt_t; do rm "$i" ; done