requesting script for compressing mp3 files recursively using ffmpeg
ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
^ like prefabricated answers?
it could help.
personally i do not usually have the patience to formulate a comprehensible (simple english) answer for cases like these, even if the answer is always very similar...i think this has been discussed before, here on LQ.
Honestly, I think it's a noble effort, and genuinely hope it DOES help.
The reality is, though, that we'll all still see the same questions, and even if we answer with "Well, there's a FAQ that answers that", the follow up will probably be "Pls provide the link". We'll not only have to direct them there, but hand them the link, then have to explain what the command(s) are one by one.
^ like prefabricated answers?
it could help.
personally i do not usually have the patience to formulate a comprehensible (simple english) answer for cases like these, even if the answer is always very similar...
i think this has been discussed before, here on LQ.
It's called your LQ blog if people wish to can examples.
Note though that there are already tons of web examples out there.
Can anyone of you convert the above code and create a shell script and post it.
Why haven't you attempted this?
Seems to me that it can nearly be translated to bash almost line for line.
Suggest you give it a go and show others here your attempt. This will at least give us insight into your script capabilities so we can offer improvements for your script in line with the expertise you've demonstrated.
Distribution: any Linux, BSD, Solaris, sco unixware, Windows 8
Posts: 59
Original Poster
Rep:
May be in future by reading a number of books I may be able to create a script or convert batch file to shell script but at present I am not.
At present I am even unable to copy the directory structure I mean directory same as source without files. What is the equivalent command of xcopy in Linux.
May be in future by reading a number of books I may be able to create a script or convert batch file to shell script but at present I am not.
At present I am even unable to copy the directory structure I mean directory same as source without files. What is the equivalent command of xcopy in Linux.
[/code]Can anyone of you convert the above code and create a shell script and post it.
i can't believe you couldn't find a single linux example online.
what search terms did you use to come up with that?
you know your search should contain "linux" if you want linux solutions?
you know what you want is called "transcode" or "transcoding"?
May be in future by reading a number of books I may be able to create a script or convert batch file to shell script but at present I am not.
At present I am even unable to copy the directory structure I mean directory same as source without files. What is the equivalent command of xcopy in Linux.
I feel that you are failing to put in any effort towards this and showing a pattern of behavior as TB0ne has cited.
I also feel that with very little study, a person can learn how to write a rudimentary bash script within minutes.
Can anyone of you convert the above code and create a shell script and post it.
Yes.
But we won't because we don't like your attitude or the way you asked.
Note that one of the questions I brought up (are any of the MP3s in paths that have spaces? do the filenames themselves have spaces?) is one that you should have commented on by now.
You have expended great effort to try to have someone else perform your task for you, without expending any effort of your own on the task itself.
You obviously know how to use a search engine and even the search feature of this forum, as you were able to deliberately search out counter examples to support your request for a working script, both here and in other fora, for this same question.
And you are able to find similar scripts such as the windows batch file you pasted above.
So you have demonstrated both that you are able to find specific information, and that you are simply unwilling to use what you find or learn from it.
I honestly can say that if you had spent just this same effort trying to understand how to approach you problem, and considered the answers already given, you would be well on your way to a solution and armed with knowledge for future tasks. No need to read years worth of books, as you say.
Such behavior is not acceptable here at LQ.
Please refrain from this behavior in the future as it goes against acceptable use of these fora, of which you have been previously made aware, it diverts valuable member's time from answering the questions of others more willing to learn, and is generally disrespectful of those who have taken the time to read and respond to your posts.
Please take this as a gentle warning and try to put forth some effort on your own tasks, and to work within the spirit and guidelines of LQ participation.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.