Question: task4 Write a bash script accepting two arguments: (directory) and (name.tag) The script must create a tar archive containing, recursively, all files and directories in
task4 Write a bash script accepting two arguments: (directory) and (name.tag) The script must create a tar archive containing, recursively, all files and directories in (directory) (including (directory) itself). The generated archive must be saved in the current working directory, using the following ame: (name tag)-(current time).tar Where (name tag) is the string specified by the user as the second argument you can convert relative paths to absolute paths by using the command realpath
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
