A collection of useful bash scripts and terminal commands for Ubuntu
- Convert PDF file to a set of JPG images
convert -verbose -density 600 -trim slides.pdf -quality 100 -flatten slides.jpg
- Copy file using SSH
scp [file name] [user name]@[ip address]:~/[destination]
- Get image metadata
exiftool image1.jpg
- Removing the audio channel from a mp4 file
ffmpeg -i input.mp4 -an -c:v copy output.mp4