update scripts

This commit is contained in:
shibao 2023-11-15 11:16:12 -05:00
parent 42e10464b9
commit 73489aa090
2 changed files with 12 additions and 0 deletions

View File

@ -0,0 +1,7 @@
#!/usr/bin/env sh
set +eou pipefail
# Takes the latest photo from my camera stream and removes exif data from it
LATEST_PHOTO=$(ls -t1 /home/default/syncthing/camera/Camera | head -n 1)
cp "/home/default/syncthing/camera/Camera/${LATEST_PHOTO}" /home/default/Downloads/temp
cd /home/default/Downloads/temp && remove-exif

View File

@ -0,0 +1,5 @@
#!/usr/bin/env sh
set -eoux pipefail
yay -Sc --noconfirm
sudo journalctl --vacuum-size=1G