Question: Step 1 : Create, Extract, Compress, and Manage tar Backup Archives Creating tar archives is something you must do every day in your role at

Step 1: Create, Extract, Compress, and Manage tar Backup Archives
Creating tar archives is something you must do every day in your role at Credico Inc. In this section, you will extract and exclude specific files and directories to help speed up your workflow.
To get started, navigate to the ~/Projects directory, where your downloaded TarDocs.tar archive file should be.
Extract the TarDocs.tar archive file into the current directory (~/Projects). Then, list the directory's contents with ls to verify that you have extracted the archive properly.
Note that because you want to preserve the directory structure of our archive, you do not have to specify a target directory to extract to.
Note that when you run ls, you should see a new ~/Projects/TarDocs directory with five new subdirectories under TarDocs/.
Verify that there is a Java subdirectory in the TarDocs/Documents folder by running ls -l ~/Projects/TarDocs/Documents/.
Create a tar archive called Javaless_Docs.tar that excludes the Java directory from the newly extracted TarDocs/Document/ directory.
If you've executed this command properly, you should have a Javaless_Docs.tar archive in the ~/Projects folder.
Verify that this new Javaless_Docs.tar archive does not contain the Java subdirectory by using tar to list the contents of Javaless_Docs.tar and then piping grep to search for Java.

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