Automatically mount SMB / CIFS / Windows share on Debian at startup

As root user, create a credentials file.
Note that <user> and <password> should be entered without “<>” brackets.
root@Erebus:~# cat > .smbcredentials

Add a line to your /etc/fstab:
Specify the local machine username which you will access the share as
//<server-IP>/<server-share> <local-mount-point> cifs uid=<local-username>,credentials=/root/.smbcredentials,iocharset=utf8,sec=ntlm 0 0

In my case it looks like this:
// /media/BIGBOX1 cifs uid=jonas,credentials=/root/.smbcredentials,iocharset=utf8,sec=ntlm 0 0

If things don’t work, try mounting the share manually first. Also, ensure that cifs-utils is installed.

Examples of backing up DVD’s with Handbrake / HandbrakeCLI

Backup with default language:
HandBrakeCLI –main-feature -i /dev/cdrom -o movie.mp4 -e x264 -b 1000 -B 192

Backup with 2nd language:
For example English language DVD with additional Japanese audio track. The switch “-a” and then the number for the audio track desired will replace the default audio in the resulting mp4 file.
HandBrakeCLI –main-feature -i /dev/cdrom -o movie.mp4 -e x264 -b 1000 -B 192 -a 2

Backup with default language and subs:
HandBrakeCLI –main-feature -i /dev/cdrom -o movie.mp4 -e x264 -b 1000 -B 192 -N jpn

NOTE: The “–main-feature” results in an initial scan of the media to find and correct inconsistencies. This is helpful if the DVD authors have anticipated the media to be copied and therefore randomly scrambled the order of the chapters.