Update ntagToBIN.sh

This commit is contained in:
RogueMaster 2022-08-19 00:55:15 -04:00 committed by GitHub
parent d02f08aa10
commit 91b3972a75
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,3 +1,4 @@
#!/usr/bin/env bash
echo "Thanks ide for the converter... "
set -euo pipefail
echo -e -n "$(grep 'Page \d\+: .*' "$1" | cut -d: -f2 | tr -d '\n' | sed 's/ /\\x/g')" > "${1%.nfc}.bin"