../
linux spellbook
# convert video with ffmpeg ----------------------
ffmpeg -i my_video.mkv -c:v copy output.mp4
# convert pdf to image ---------------------------
pdftoppm -png pdf_filename image_name
# convert wav to mp3
ffmpeg -i input.wav -acodec libmp3lame output.mp3
# batch covert images to png ---------------------
for file in *.webp; do ffmpeg -i "$file" "${file%.webp}.png"; done
# print the size of a folder ---------------------
du -sh /path/to/folder/
# create a bootable usb stick --------------------
# find your usb stick
sudo fdisk -l
# use the dd command to write to the disk
sudo dd bs=4M if=/path/to/file.iso of=/path/to/usb status=progress oflag=sync