Question: Implement a shell script that receives as an argument a directory name D and a size S. The script will go through the hierarchy contained

Implement a shell script that receives as an argument a directory name D and a size S. The script will go through the hierarchy contained in D and all files contained in D beyond size S will be archived and the original will be deleted. At the end it will display the full name list of the archived files, the full path, the size before archiving and after archiving.

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!