#----------------------------------------------------------------------- # Make the following files for New Horizons data set # /n/sbnarch01/lien/nh-j-mvic-2-jupiter-v1.0/: # - VOLUME/nhlamv_1001/index/checksum.tab & .lbl # - DOWNLOAD TGZ file for each VOLUME # - DOWNLOAD MD5SUM file #----------------------------------------------------------------------- cd /n/sbnarch01/lien/nh-j-mvic-2-jupiter-v1.0/ # # Make checksum.tab & .lbl for the *entire* data set # mkpdssum -x CODE -x dataset.html -x DOWNLOAD -x NOTES -x VOLUME -x checksum # # Clear the DOWNLOAD directory. # rm DOWNLOAD/* # # Make the checksum.tab & .lbl for *each* VOLUME. # Remember to include the "-f" option which forces mkpdssum to # follow symbolic links. # cd VOLUME/nhjumv_1001 mkpdssum -f -x checksum # # Back at the VOLUME level, make a tgz file for *each* VOLUME. # # For tar, the "h" option forces symblic links to be followed # (dereferenced) and the "z" option pipes the tar file through gzip. # # Omit the "z" option to make a simple tar file: # tar cvfh ../DOWNLOAD/nhjumv_1001.tar nhjumv_1001 # cd ../ tar cvfh ../DOWNLOAD/nhjumv_1001.tar nhjumv_1001 cd ../DOWNLOAD gzip nhjumv_1001.tar # # Make MD5SUM for contents of DOWNLOAD # cd ../DOWNLOAD mkpdssum -x MD5SUM -x nhjumv_1001.tar mv checksum.tab MD5SUM