Skip to content

Instantly share code, notes, and snippets.

View corrooli's full-sized avatar
🦝
Don't touch my garbage

Oliver Corrodi corrooli

🦝
Don't touch my garbage
View GitHub Profile
@corrooli
corrooli / gist:c0e3a57f71d73ee3ed980742bf751106
Created March 15, 2025 02:21
Synology Script - Convert .WAV and .AIFF to .MP3
#!/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