stderr printing & gpg-agent

This commit is contained in:
lhark 2019-02-13 00:25:36 -05:00
parent a254125abe
commit 5d0de0aae4

7
how_to
View file

@ -439,3 +439,10 @@ Get hardware informations:
Music fingerprinting Music fingerprinting
for f in *.mp3;do echo $f; python ~/src/pyacoustid/aidmatch.py $f;done > ident for f in *.mp3;do echo $f; python ~/src/pyacoustid/aidmatch.py $f;done > ident
awk '/\.mp3/{f = $0;next} f{printf "mv %s \"../%s.mp3\"\n", f, $0; f=0}' ident > rename.sh awk '/\.mp3/{f = $0;next} f{printf "mv %s \"../%s.mp3\"\n", f, $0; f=0}' ident > rename.sh
Echo to stderr
>&2 echo "message"
Reset gpg-agent passphrase cache
Useful mainly for testing purposes
echo RELOADAGENT | gpg-connect-agent