Convert entire audio library in parallel

lc() { od="$1"; nd="$2"; of=$3; nf=$4; cp -rl "$od" "$nd"; parallel -0 "ffmpeg -i {1} -loglevel error -q:a 6 {1.}.{2} && { rm {1}; echo {1.}.{2}; }" :::: <(find "$nd" -type f -iname \*$of -print0) ::: "$nf"; }
Uses parallel processing Reiteration of my earlier command https://www.commandlinefu.com/commands/view/15246/convert-entire-music-library Usage lc Old_Directory New_DIrectory Old_Format New_Format lc ~/Music ~/Music_ogg mp3 ogg
Sample Output

				

3
2017-03-02 17:37:34

What Others Think

Hello! If you are still looking for the answer to your question, then I advise you to look at this site at https://phdessay.com/free-essays-on/essay-examples/, because thanks to it you can find a lot of useful material.
georgeburkitt · 88 weeks and 1 day ago
You should add a few more sounds to your audio collection. You can refer to here: https://dzwoneknatelefon.com/
LefflerHirthe · 53 weeks and 6 days ago
You should add a few more sounds to your audio collection. You can refer to here: https://dzwoneknatelefon.com/
LefflerHirthe · 53 weeks and 6 days ago
maybe you should try the reference Dzwonkinatelefon.pl
Junnco · 51 weeks ago
great that i found this forum. People here are great. Learned alot. Keep posting more bathroom remodeling nashville tn
Killersmile · 36 weeks and 1 day ago
Whenever I'm stressed I listen to music at klingeltöne kostenlos with thousands of songs for the best sound quality.
LutherFigueroa · 30 weeks and 3 days ago
Your article is very good and useful for everyone. Besides, I want to let everyone know a completely free and high-quality Bruitages ringtone website containing all the best and best songs of 2021
ChadCollins · 24 weeks and 4 days ago
Free ringtone download, no sign up / registration. high quality mp3 ringtones for download at: https://downloadringtonesfree.mobi/
celinaa123 · 19 weeks and 3 days ago
Free ringtone download, no sign up / registration. high quality mp3 ringtones for download at: https://downloadringtonesfree.mobi/
celinaa123 · 19 weeks and 3 days ago

What do you think?

Any thoughts on this command? Does it work on your machine? Can you do the same thing with only 14 characters?

You must be signed in to comment.

What's this?

commandlinefu.com is the place to record those command-line gems that you return to again and again. That way others can gain from your CLI wisdom and you from theirs too. All commands can be commented on, discussed and voted up or down.

Share Your Commands



Stay in the loop…

Follow the Tweets.

Every new command is wrapped in a tweet and posted to Twitter. Following the stream is a great way of staying abreast of the latest commands. For the more discerning, there are Twitter accounts for commands that get a minimum of 3 and 10 votes - that way only the great commands get tweeted.

» http://twitter.com/commandlinefu
» http://twitter.com/commandlinefu3
» http://twitter.com/commandlinefu10

Subscribe to the feeds.

Use your favourite RSS aggregator to stay in touch with the latest commands. There are feeds mirroring the 3 Twitter streams as well as for virtually every other subset (users, tags, functions,…):

Subscribe to the feed for: