Question: Create a bash script called org.sh that takes as an argument a directory name, and organizes the files in that directory into buckets. All files

Create a bash script called org.sh that takes as an argument a directory name, and organizes the files in that directory into buckets. All files are named n.txt, where n is a number between 1 and 100 inclusive. The buckets are just directories through which we organize these files, and we want 5 buckets for values 1-20,21-40,41-60,61-80,81-100. To keep your directory structure clean, put these buckets in a directory called buckets

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 Programming Questions!