This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Script for Synology Task Planner! | |
# I use it to automatically convert my band practice recordings to .MP3 so we can listen to them instantly after rehearsal with our phones. | |
# For ARMv7 CPUs: Download https://johnvansickle.com/ffmpeg/releases/ffmpeg-release-amd64-static.tar.xz and unpack it, place ffpmeg executable to any share you like. | |
# For Intel CPUs: Don't have the link ready, but Google is your friend ;) | |
# Be sure to set execution/directory listing permission for the user that runs this script! | |
TARGET_DIR="/volume1/TARGET_DRIVE" # Adjust here! Replace TARGET_DRIVE with the drive name |