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

Spam Email - Hot hand fallacy economics - Strategy driven talent management a leadership imperative pdf - Conch republic electronics case study - Variable overhead variance formula - Moving a charge mastering physics - Case Study - A difficult task force case study - Why lyman series lies in uv region - The treadmill of consumption james roberts summary - Music Appreciation - Organizational Economics DQ - Environmental impact of polycarbonate - How to pass a sassi test - Examples of prefix im words - Love em liver cookies coles - Avolio walumbwa & weber 2009 - POL 201 American National Government NO PLAGIARISM PLZ - What does the ghost of banquo represent - Insurance on property plant and equipment - Experimental research - Assignment Instructions: Frankenstein Critical Analysis Evaluation Essay - Finance and Operations - Overview of the naeyc early childhood program standards - Tower hamlets visitor scratch cards - Servant leadership and followership similarities - What is a research background - Jayco bed end support pole - Five elements of plot - Calculating iv infusion time - Fingerprint recognition algorithm java - Miriam rose ungunmerr baumann biography - Geo 3030 - Cryptocurrency - Ksaocs - Work-14 - David shepherd boy verse - Media relations cover letter - Principles Of Managerial Accounting - Core competencies of maruti suzuki - Norton introduction to literature portable 12th edition table of contents - COMPANY ANALYSIS - Business government and society a managerial perspective - Marketing excellence nike case study solution - Kim - Reading response - What are the functions and dysfunctions of immigration - Introduction to data mining pang ning tan vipin kumar pdf - How many passenger capsules are there on the london eye - Australia post delivery centre griffith nsw - Disaster recovery - Sunbeam fraud case - Pall single use chromatography - 1045 steel mechanical properties - Cyber Security and Internet of things - American wire gauge abbreviation - The innocent anthropologist chapter summaries - Patterson river vet clinic - The following categories are on a classified balance sheet - Baulkham hills bc post office - Decision tree - Local store marketing guide - The parts of a volcano - How many quarters in 10 dollars - Assignment - Kings international removals pty ltd - Ford pinto case study summary - Fix a paper - Po box 9822 melbourne - Fire alarm project using arduino - Heating cooling curve equations - Where is the outsiders set - Pitot static probe equation - South westminster osteopathic clinic - Melrose primary school teachers - Oscar orsen wire headband - Lord of the flies chapter 11 vocabulary - Argument - Hltwhs002 follow safe work practices for direct client care - Great expectations study guide chapters 1 10 answers - Urinary system case study answers - How to make a dna model with paper - Cloud security issues 2015 - Traditional customer service tended to be - Cloud services - Bcg matrix example pepsi - Reflection in Action - What is asx 24 - Informatica data analyst resume - One Page Character Analysis - What is internet terminology - Physical Database Design - Southeast medical center case study - Prewriting techniques definition - The key agencies regulating and enforcing rsa in nsw are: - Oprah winfrey character traits and evidence - Gattaca movie questions - Alpha beta charlie symbols - H sarasohn definition of yield versus production - Hess's law lab report