Mount ISO file on MACOS

how to mount an iso file on MACOS ? 1[[ -d tmp ]] && mkdir tmp 2hdiutil attach -nomount debian-12.2.0-arm64-netinst.iso && \ 3 mount -t cd9660 /dev/disk5 ./tmp/

2023-11-14 · G2G

Migrate ZX2C4 pass to MacOSX

… or how to migrate your pass keys softly Source 1for FOLDER in $HOME/.password-store $HOME/.gnupg ; do 2 rsync -arv --delete ${FOLDER}/ macosx:${FOLDER}/; 3done Target 1brew install gnupg pass pinentry 2gpg --list-key toto@perdu.com # ensure that gpg email user is the same as git email user 3git config --global --edit # ensure that gpg email user is the same as git email user 4 5cat<<\EOF>>$HOME/.bash_profile 6[[ -f ~/.bashrc ]] && source ~/.bashrc 7EOF 8 9cat<<\EOF>>$HOME/.bashrc 10eval "$(/opt/homebrew/bin/brew shellenv 2>/dev/null)" 11# password-store completion 12for COMPLETION in /opt/homebrew/etc/bash_completion.d/* ; do 13 source $COMPLETION 2>/dev/null; 14done 15 16[[ -z $(pgrep gpg-agent) ]] && gpg-agent --pinentry-program=/opt/homebrew/bin/pinentry-tty --daemon # for password-store 17EOF Sources ZX2C4 Pass Documentation

2023-08-07 · G2G