Question: Write a script to back up multiple files into a directory, create the directory if thedirectory doesn't exist, and display the message indicating the number

Write a script to back up multiple files into a directory, create the directory if thedirectory doesn't exist, and display the message indicating the number of files hasbeen successfully backed up. The last argument to the script is the directory.$ lsfoo1 foo2 foo3 foo4 foo5 foo6$ ex5* progsThe directory progs is created.6 files have been backed up into the directory progs.$ lsfoo1 foo2 foo3 foo4 foo5 foo6 progs$ ls progsfoo1 foo2 foo3 foo4 foo5 foo6 Bash programming

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!