Skip to content

Instantly share code, notes, and snippets.

@killbus
Last active July 5, 2021 10:26
Show Gist options
  • Save killbus/054c02a81483648e7a8d1c236138a4eb to your computer and use it in GitHub Desktop.
Save killbus/054c02a81483648e7a8d1c236138a4eb to your computer and use it in GitHub Desktop.
#!/bin/bash
find -name "*.mp4" -exec sh -c "ffmpeg -v error -i '{}' -map 0:1 -f null - 2>'{}.log'" \;
//<server>/<share> <mount_point>        cifs  credentials=/etc/win-credentials,uid=1000,gid=1000,file_mode=0755,dir_mode=0755,x-systemd.automount,nofail 0       0

/etc/win-credentials

username=user
password=password
domain=domain
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment