Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I need the commands for the following request, in debian 11 8. (Shell scripting) Create a sh script in /usr/local/bin, as specified below: [20%] i.

I need the commands for the following request, in debian 11
image text in transcribed
8. (Shell scripting) Create a "sh" script in /usr/local/bin, as specified below: [20\%] i. Write a script that takes a folder argument, recursively searches for songs (those ending with .mp3, .ogg, .flac, or wav), and sorts them according to song length to the standard output. An extra flag determines whether sorting is done ascending or descending, but if the flag is missing, ascending is assumed. For each music file, a line is output containing the file name and song length. Install and make use of the third-party tool "mediainfo" to retrieve song lengths. Check arguments and show usage message if wrong arguments

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Implementing Ai And Machine Learning For Business Optimization

Authors: Robert K Wiley

1st Edition

B0CPQJW72N, 979-8870675855

More Books

Students also viewed these Databases questions

Question

=+b. Calculate SSResid and SSTo.

Answered: 1 week ago

Question

5. If yes, then why?

Answered: 1 week ago

Question

6. How would you design your ideal position?

Answered: 1 week ago