You are not logged in.
Hallo,
I'm looking for a tool for copying recursively audio files of different formats to another folder, e.g. on a SD card, but recoding all losseless formats (e.g. flac) and just copy files which are already converted to a lossy format (ogg, mp3). Preferably something like rsync for copying only modified files but recoding losseless formats. Does anyone has an suggestion?
Last edited by naund (2017-08-08 11:50:31)
Offline
You're describing 2 steps in there it seems. For simply copying of lossy, use rsync with the --exclude flag to not process the .flac files. For them, use a util like flac2all (https://aur.archlinux.org/packages/flac2all/) then copy them over. Might be easier to reverse those steps, 1) make all mp3 or whatever, then rysnc.
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
OK, thank you for pointing me to flac2all. Indeed, it shouldn't be too complicated to craft a script for this job. But I'm still suprized, that ther exist no ready-made tool for such a common job.
Offline
I might be out of the loop here, but does re-encoding lossy formats actually gain anything? doesn't it just leave you with a larger output file of the same (or slightly worse due to re-encoding) quality as the input file?
Offline
I might be out of the loop here, but does re-encoding lossy formats actually gain anything? doesn't it just leave you with a larger output file of the same (or slightly worse due to re-encoding) quality as the input file?
No, it doesn't gain anything.
But your the first person in this thread to mention re-encoding lossy formats.
Last edited by Slithery (2017-08-09 06:35:48)
Offline
But I'm still suprized, that ther exist no ready-made tool for such a common job.
After playing around with flac2all I found the swithches -c for copying all non flac files and -x for excluding with an regular expression. This is the tool I was looking for.
Offline
But your the first person in this thread to mention re-encoding lossy formats.
my bad, I completely misread the OP
Offline