This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
haas:spring2014:unix:projects:archive_handling [2014/02/03 21:51] – [Submission] wedge | haas: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/ | * the smallest file will be whichever file represents the smallest/ | ||
- 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 | ||
- | lab46: | ||
- | </ | ||
- | |||
- | That is MY md5sum of the archive, in accordance with the project requirements. If your archive' |