Create ntagToBIN.sh

This commit is contained in:
RogueMaster 2022-08-19 00:53:49 -04:00 committed by GitHub
parent 9b4e77e009
commit d02f08aa10
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

3
scripts/ntagToBIN.sh Normal file
View File

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