# Memes/Reaction Images This is my memes folder. It expands its collection continuously. I do not apologise if some memes here are offensive, view at your own risk. Memes here are jokes and thus do not necessarily reflect the views or opinions of myself (orangc). ## Misc **Note to self: on keeping memes in .png/.mov form.** ```nix nix-shell -p imagemagick ffmpeg ## important: these delete originals, remove && rm "$1" to keep them # convert all non PNG images files to PNGs sudo fd -t f -e jpg -e jpeg -e webp -e bmp -e tiff . /srv/files/media/memes \ -x sh -c 'magick "$1" "${1%.*}.png" && rm -- "$1"' sh # convert all non MOV files to MOVs sudo fd -t f -e mp4 -e mkv -e webm -e avi -e flv . /srv/files/media/memes \ -x sh -c 'ffmpeg -y -loglevel error -i "$1" -c copy "${1%.*}.mov" && rm -- "$1"' sh ```