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

Magnetic field midway between two parallel wires - Goals for stevens district hospital part 1 - Double inclined plane with friction - The conquest of mexico was one aggressive ap lang answers - Hkdse english paper 4 - Marketing strategies business studies - Cosh x in terms of e - The sash my father wore chords - IDM W 3 A - Noongar native title settlement - Fate and free will macbeth - What is text dependent analysis - Corporate IT Security Audit Compliance - Group f/64 and Imogen Cunningham - Performance compensation and rewards presentation - Matthew bailey as manager of designs by bailey - Information Systems - Gcu learn - Models for writers 12th edition answers - Is trials harder than hsc - Induction type energy meter - The absorption of ink by blotting paper involves - Gopro case study strategic management - Discussion Board - Chemical energy stored in food - Lifestyle and health practices profile - Southern bank and trust clarkesville ga - If the mps = 0.1, then the multiplier equals: - Manchester unity pet insurance - Care certificate and code of conduct standards include answers - Elements of the general environment - 500 words no plagiarism, apa format, 2-3 references. - Server virtualization cost benefit analysis - Discussion - Primary and secondary groups sociology - Best paper airplane for distance and speed - Litterature - A researcher conducts an independent measures two factor study - Analysis of seeing by annie dillard - Sarin and o connor 2009 article - What is an audience profile sheet - 512 simplified - Check list - Alcoa foundation grant application - Hesta binding death nomination form - Bani israel surah baqarah - 35 hannemann drive whyalla - Continuum of managed health care plans - Non literary text types - Ethical issues - BUSN601 - Isn t it ironic - Letter to school board from parent - Thornfield hall governess crossword - Homemade concrete block incinerator - Behaviorally anchored rating scales specify ________ job behaviors - Benchmark - Capstone Project Change Proposal (Fall prevention strategies in hospitals.) - Zoton fast tabs 30mg - Tpg international call rates - The code of conduct has changed since - Business travel policy pdf - 469 226 3293 - A hydrocarbon contains 85.7 carbon - Connect chemistry online homework answers - Community Nursing DQ 2 week 4 student reply laura Rosa Alonso. - Mn2 co 10 na - How does the discount rate affect the economy - A 1130 kg car is held in place - Comparative Politics - Cloud computing - BUS660 WEEK 3 DISCUSSIONS 1&2 - How to reclassify multiple transactions in quickbooks enterprise - Sensory - Cousin brucie net worth - Assignment 8-1 - This is what it means to say phoenix arizona theme - Ethical autobiography outline - Wolverhampton uni library catalogue - Informatics and nursing sewell pdf - Eden valley group erith - Trim joist span tables - Everyday bible study by cartwright - Tracking movement of a car with vuejs - Admn p2 - Ethics policies typically cover all of the following issues except - Production of ethanol from waste paper - Torque for m12 bolt - Expansion of the united states map 1607 1853 - What is the distance between uranus and the sun - Fully explain the following statement, providing supporting examples: Cultural shifts in literature and the visual arts led to the development of the enactment of the first animal protection laws in the 19thC. - Woolworths fuel discount 8 cents - Bosch fr 7 dc+ - Oslcc cpp - Affirmative vs negative debate - Depaul university css code - Sports massage consultation form - Designing effective presentations part iii com 295 - If ssw = 126, n = 28, k = 4, then what is the value of sw2 - Apply for deferred exam griffith - Which transition word correctly links the two sentences