Skip to content

Instantly share code, notes, and snippets.

@smartest
Created January 26, 2016 11:38
Show Gist options
  • Save smartest/78940d4c1f63e0c56d28 to your computer and use it in GitHub Desktop.
Save smartest/78940d4c1f63e0c56d28 to your computer and use it in GitHub Desktop.
flacs to alacs with folder structure (powershell, ffmpeg)
xcopy flacs alacs /tecsy
ls -recurse -path flacs -include *.flac | %{.\ffmpeg\bin\ffmpeg.exe -i $_.FullName -acodec alac ("alacs"+$_.DirectoryName.Substring(((resolve-path $pwd).providerPath).length+6)+"\"+$_.BaseName+'.m4a')}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment