Answered step by step
Verified Expert Solution
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
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
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started