Question: Script: Collapse the Subdirectory Goals: Write a simple bash script Write a script to automate moving all the files to another directory We have been

Script: Collapse the Subdirectory Goals: Write a simple bash script Write a script to automate moving all the files to another directory We have been left with a huge dump of text files in a redundant directory. Our goal is to move all of these files into the parent directory. Create a script to move each file from this directory to the parent directory. Name it collapse.sh You may set up the script to take the target and destination directory as parameters. Use CHMOD to make the script executable. After running your script ALL of the archive files should be in the /textarchive/ directory. Use your "Count Files" Script to confirm all the files were moved. Provide a before and after screen shot
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
