dit document bevat installatie en werking rond TrID, een programma om een bestandstype te identificeren.
choco install trid
mkdir /tmp/trid && cd /tmp/tridfor i in defs update _linux_64; do wget https://www.mark0.net/download/trid$i.zip; donefor i in defs update _linux_64; do unzip -x trid$i.zip; donerm -f *.zip readme.txtmv * /usr/local/bin && chmod -R 755 /usr/local/bincd / && rm -rf /tmp/trid
python /usr/local/bin/tridupdate.py: werkt de bestandsdefinities bij.
trid.exe -v <naamBestand>strings-ae: voegt bestandstype toe, zodat je bestand de extentie krijgt die het allicht verdient. trid: loadlocale.c:129: _nl_intern_locale_data: Assertion `cnt < (sizeof (_nl_value_type_LC_TIME) / sizeof (_nl_value_type_LC_TIME[0]))' failed. Aborted (core dumped)
oplossing: voeg onderstaande lijn toe aan .bashrc:export LANG=C