Created
January 26, 2016 11:38
-
-
Save smartest/78940d4c1f63e0c56d28 to your computer and use it in GitHub Desktop.
flacs to alacs with folder structure (powershell, ffmpeg)
This file contains hidden or 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
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