Loading...

Messages

Proposals

Stuck in your homework and missing deadline? Get urgent help in $10/Page with 24 hours deadline

Get Urgent Writing Help In Your Essays, Assignments, Homeworks, Dissertation, Thesis Or Coursework & Achieve A+ Grades.

Privacy Guaranteed - 100% Plagiarism Free Writing - Free Turnitin Report - Professional And Experienced Writers - 24/7 Online Support

Reextend

22/12/2020 Client: saad24vbs Deadline: 6 Hours

Write a script called count.bash that, for each regular file in the working directory, prints the filename, the # of lines, and the # of words to stdout, like this:breadIsDangerous.txt 73 431

spellExample 5 21

Do not use find

Test your script with filenames that have spaces in them. Get it right.

Q 1: Upload count.bash

Write a shell script that accepts two file extensions as command line arguments and renames all files with the first extension within the current working directory to have the second extension instead.For example:

$ reextend .log .txt

Would cause install.log to be renamed to install.txt, and

$ reextend A B

Would cause TADAA to be renamed to TADAB . It would also cause file.A to be renamedfile.B .

The script should print out error messages as is appropriate if there is any problem with the command line arguments. Test the script with a range of different parameters, including incorrect parameters or missing parameters.

hint: See Parameter Expansion in the bash man or info page.

hint: See what ls -1 does.

Q 2: Call this script reextend , and upload it w/your lab.

You just used your favorite ripper to get some songs off a bunch of CDs that you legally purchased. You set the output format, got the bit-rate you wanted, but forgot to set the format for the filenames. You ended up w/listings like this:Led Zeppelin - Over the Hills and Far Away.mp3

, all in the same directory. What you really wanted was to have the songs in directories by artist, and just the song name for the filename:

Led Zeppelin/Over the Hills and Far Away.mp3

So, write a script that looks in the current directory only for mp3 files, breaks the filename out into artist and song title, creates the appropriate directory (if it doesn't already exist), removes the artist and the first ' - ' from the filename, and moves it into the directory.

Q 3: Call this script organiseMusic , and upload it w/your lab.


Homework is Completed By:

Writer Writer Name Amount Client Comments & Rating
Instant Homework Helper

ONLINE

Instant Homework Helper

$36

She helped me in last minute in a very reasonable price. She is a lifesaver, I got A+ grade in my homework, I will surely hire her again for my next assignments, Thumbs Up!

Order & Get This Solution Within 3 Hours in $25/Page

Custom Original Solution And Get A+ Grades

  • 100% Plagiarism Free
  • Proper APA/MLA/Harvard Referencing
  • Delivery in 3 Hours After Placing Order
  • Free Turnitin Report
  • Unlimited Revisions
  • Privacy Guaranteed

Order & Get This Solution Within 6 Hours in $20/Page

Custom Original Solution And Get A+ Grades

  • 100% Plagiarism Free
  • Proper APA/MLA/Harvard Referencing
  • Delivery in 6 Hours After Placing Order
  • Free Turnitin Report
  • Unlimited Revisions
  • Privacy Guaranteed

Order & Get This Solution Within 12 Hours in $15/Page

Custom Original Solution And Get A+ Grades

  • 100% Plagiarism Free
  • Proper APA/MLA/Harvard Referencing
  • Delivery in 12 Hours After Placing Order
  • Free Turnitin Report
  • Unlimited Revisions
  • Privacy Guaranteed

6 writers have sent their proposals to do this homework:

Writer Writer Name Offer Chat

Writers are writing their proposals. Just wait here to get the offers for your project...

Let our expert academic writers to help you in achieving a+ grades in your homework, assignment, quiz or exam.

Similar Homework Questions

DISCUSSION CJT 202 - What is an integrated keyboard - Costs incurred indirectly and allocated to a responsibility level are considered to be - Buff city soap cape coral - Consider an economy described by the production function - The odd couple play monologue - 9lb 8oz in kg - C06 Online Exam 7_10 SCORE 100 PERCENT - Independent sample t test example problems with solutions spss - 2645 atlantic ave brooklyn ny 11207 9997 - Pdf index generator free - Curriculum development and evaluation in nursing - A firm in a monopolistically competitive market faces a - Handmaid's tale archive of our own - Find the value of rl for maximum power transfer - How is academic and spiritual growth tied - Production executive job description - For anyone - Need Help answering questions - Networking assignment (LO3 and LO4 only) - Sunbeam fraud case - Cosmetic surgery survey questions - English 2 - The welcome table alice walker sparknotes - Blue tile farm barn - Wedding project management assignment - Oil smoke and mirrors documentary - MANAGING IN A GLOBAL ECONOMY - Malden mills case study pdf - Characters in going after cacciato - Java software solutions etc w bind in access edition 8th - What's stifling the creativity at coolburst - How to write an informative speech outline - Genogram emotional symbols - Essay- Need done in 12 hours or less - White collar crime paper topics - Amorphous and crystalline polymers ppt - 3 1 11x expand - Daily weather graph kindergarten - If by rudyard kipling meaning per stanza - Is text a visual technique - D&k auto electrical wetherill park - Andrew zenoff - Social media privacy case study - Alaska horizon paperless employee travel - Give me liberty an american history 6th edition pdf - Amoeba sisters alleles and genes worksheet - Boiling point elevation experiment pdf - Reset hudl 2 password - Magnesium reacts with silver nitrate solution equation - Security breach at tjx pdf - Rosebank residential homes cap - Explain what the barriers are to interpersonal communications - Community interpreting level 3 - Panmore institute - Body part in french - Maternal and Child Health - Control4 wireless adaptive phase dimmer - Economists compute the price elasticity of demand as the - Skin and temperature control worksheet answers - Eldorado expedition heart of darkness - Is fast food to blame for obesity essay - St george christian college - Final essay! - 5 hydrogen plus oxygen produce water remember diatomic elements - Example of a character description - WEEK 6 DISCUSSION HSA551 - Discussion - Main rules of badminton - Family theories foundations and applications pdf - William ricketts sanctuary storm damage - Parts of a recipe - Roye kennel uses tenant days as its measure of activity - Lord clarke of hampstead - HR: Post and responses - Bangladesh jail rank badge - Broad crested weir formula - Is fort street high school good - Rhs level 2 past papers 2015 - Sample database project proposal - Cobit p09 - Brackley gym opening times - Project management trade off triangle - Difference between hrm and hrd in table form - A motorcycle moves according to the velocity versus time - Homework Assignment #9 - How does hitech affect patients - Salary inequities at astrazeneca - 5 step bowling approach - Zipper z3 electric bike - Au sec culinary definition - Juan ponce de leon nationality - Bike data project - Human resource classroom activities - Health information draft - Scorecard Analysis: Individual Presentation - What land area made up the northwest territory - Organ leader and decision making - Extrinsic limiting factors - Resume