terminal:bin
This is an old revision of the document!
Table of Contents
my most used local scripts
in ~/.local/bin
usually. also in my dotfiles.
vpn
launch applications excluded from current and future VPN sessions (until window is closed).
i have this aliased to ``mvpn`` and ``mftp``, respectively, to launch a terminal or filezilla window with this script.
#!/bin/bash nohup mullvad-exclude $1 > /dev/null 2>&1 &
resize img
this is for when i use syncthing to transfer camera photos from my phone to my computer, then need to resize them for easier sharing
#!/bin/bash WORKDIR=$(pwd) TMPDIR="/home/kat/Pictures/Camera/tmp-resize" cd ${WORKDIR} for f in *.jpg; do mv $f ${TMPDIR}; done cd ${TMPDIR} && magick -size 3000x4000 *.jpg -resize 40% "../${f%.*}-resized.jpg" && rm -rf *.jpg
terminal/bin.1755309013.txt.gz ยท Last modified: by melo