#----------------------------------------------------------------------- # Make the following files for New Horizons data set # /n/sbnarch01/lien/nh-x-lorri-2-launch-v1.0/: # - VOLUME/nhlalo_1001/index/checksum.tab & .lbl # - DOWNLOAD TGZ file for each VOLUME # - DOWNLOAD MD5SUM file #----------------------------------------------------------------------- cd /n/sbnarch01/lien/nh-x-lorri-2-launch-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/nhlalo_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/nhlalo_1001.tar nhlalo_1001 # cd ../ tar cvfh ../DOWNLOAD/nhlalo_1001.tar nhlalo_1001 cd ../DOWNLOAD gzip nhlalo_1001.tar # # Make MD5SUM for contents of DOWNLOAD # cd ../DOWNLOAD mkpdssum -x MD5SUM -x nhlalo_1001.tar mv checksum.tab MD5SUM