User Tools

Site Tools


haas:spring2014:unix:projects:archive_handling

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
haas:spring2014:unix:projects:archive_handling [2014/01/20 21:51] – [Submission] wedgehaas:spring2014:unix:projects:archive_handling [2014/02/04 19:36] (current) wedge
Line 44: Line 44:
  
 =====Procedure===== =====Procedure=====
-COMING SOON+In the UNIX Public Directory you will find a **projects/archive_handling** subdirectory.
  
 +There you will find two existing archives:
 +
 +  * archive1.zip
 +  * archive2.tar.bz2
 +
 +You'll probably want to make a copy of these to some working directory in your home directory.
 +
 +Essentially, I want you to do the following:
 +
 +  - Figure out the format of each archive, and read up on the available tools for manipulating them
 +  - Extract the contents of the two archives and study them (make sure you keep track of what is in which archive)
 +  - Analyze the archive contents and find any corrupt or empty files. They are not needed.
 +  - Arrange the remaining content by the following criteria:
 +    * name the files smallest, small, big, biggest, and tack on the appropriate extension
 +    * the smallest file will be whichever file represents the smallest/lightest of the four things (not file size but contextual content of what the file is describing)... similarly as appropriate with small, big, and biggest (the largest/heaviest of the four things)
 +  - Create a new archive, called **myarchive.tar** containing only these size-themed files.
 +    * do NOT store any paths in the archive, just put the files at base level
 +  - Compress **myarchive.tar** on second highest (on the best, not fastest end of the spectrum) compression level in gzip to create the appropriately named **myarchive.tar.gz**
 +    * also use the **-n** argument to aid in the verification step below
 +  - Submit **myarchive.tar.gz** using the submit tool.
 =====Reflection===== =====Reflection=====
 Be sure to provide any commentary on your opus regarding realizations had and discoveries made during your pursuit of this project. Be sure to provide any commentary on your opus regarding realizations had and discoveries made during your pursuit of this project.
haas/spring2014/unix/projects/archive_handling.1390254660.txt.gz · Last modified: 2014/01/20 21:51 by wedge