Question: Write a bash script to back files in a given directory. The naming convention in the backup file should be: originalName.Year-Month-Day.HourMinute.bak For example a backup

Write a bash script to back files in a given directory. The naming convention in the backup file should be:

originalName.Year-Month-Day.HourMinute.bak

For example a backup for a file named info will be: info.2018-01-30.0525.bak

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!