exiftool -ALL= /path/to/input.mp4
ffmpeg -i /path/to/input.mp4 -map 0 -map_metadata -1 -c copy /path/to/export.mp4
mp4box -splits 2000000 filename.mp4
e.g. ~2 GB parts
git log --pretty=format:'"%h","%an","%ad","%s"' --date-order --date=format:'%d.%m.%Y %H:%M:%S' > allCommits.csv
convert -density 300 "in.pdf" "out.pdf"
convert -density 120x120 -quality 20 -compress jpeg <in> <out>
gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/screen -dNOPAUSE -dQUIET -dBATCH -sOutputFile=output.pdf input.pdf
soffice --headless --convert-to pdf docx/* pdf/
pacman -Sc
pacman -Qdt
pacman -Rns $(pacman -Qtdq)
journalctl --vacuum-size=50M
apt-get clean
journalctl --vacuum-size=50M
find / -xdev -type f -size +100M
#!/bin/bash
# Removes old revisions of snaps
# CLOSE ALL SNAPS BEFORE RUNNING THIS
set -eu
LANG=en_US.UTF-8 snap list --all | awk '/disabled/{print $1, $3}' |
while read snapname revision; do
snap remove "$snapname" --revision="$revision"
done
git show --pretty="" --name-only
git show
git log
7z a archive.7z *.jpg -mx9
7z x archive.7z
apk info | xargs sudo apk fix
source: https://unix.stackexchange.com/a/619479
apk info
apk list