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/02/03 21:51] – [Submission] wedgehaas:spring2014:unix:projects:archive_handling [2014/02/04 19:36] (current) wedge
Line 62: Line 62:
     * 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)     * 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.   - 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**   - 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.   - Submit **myarchive.tar.gz** using the submit tool.
 =====Reflection===== =====Reflection=====
Line 87: Line 89:
 You should get some sort of confirmation indicating successful submission if all went according to plan. If not, check for typos and or locational mismatches. You should get some sort of confirmation indicating successful submission if all went according to plan. If not, check for typos and or locational mismatches.
  
-=====Verify===== 
-A quick way to check and see if you did everything right is to compute the MD5sum hash of the archive and see if it matches mine: 
- 
-<cli> 
-lab46:~$ md5sum myarchive.tar.gz 
-4e6a2c50caa7cca33aef85103431ba76  myarchive.tar.gz 
-lab46:~$  
-</cli> 
- 
-That is MY md5sum of the archive, in accordance with the project requirements. If your archive's MD5 sum is **identical** to mine, then you can rest assured you did it right. 
haas/spring2014/unix/projects/archive_handling.1391464309.txt.gz · Last modified: 2014/02/03 21:51 by wedge