--------------------------- Using the cstsubmit command --------------------------- -Ian! D. Allen - idallen@idallen.ca The cstsubmit command is available in my account in the T127 Linux Lab. You must type this command name: ~alleni/bin/cstsubmit (You may create a shell alias for it to save typing.) Example of using cstsubmit: $ ~alleni/bin/cstsubmit # no arguments - print usage message $ ~alleni/bin/cstsubmit 01 file1.txt file2.sh dir1 dir2 $ ~alleni/bin/cstsubmit 01 -list $ ~alleni/bin/cstsubmit 01 -listall $ ~alleni/bin/cstsubmit 01 -fetch $ ~alleni/bin/cstsubmit 01 -delete $ ~alleni/bin/cstsubmit -list cstsubmit 01 -list: List the files in the most recent submission for exercise 01. cstsubmit 01 -listall: List the files in all the submissions for exercise 01. cstsubmit 01 -fetch: Fetch into the current directory a "tar" archive containing the most recent submission for exercise 01. cstsubmit 01 -delete: Delete the most recent submission for exercise 01. The previous submission for exercise 01 (if any) becomes the current one. cstsubmit -list: List the most recent submission for all exercises. The submit command submits a related set of pathnames (files or entire directories) for marking. Whatever you hand to submit is saved in a dated sub-directory of my marking directory. You can submit several times; but, I only use the most recent one. New submissions do not change or delete previous submissions. All submissions are completely independent and all are saved in separate dated sub-directories. The "-listall" option lets you see all your submissions for a particular exercise number. You do not have to delete a previous submission to submit a new one; each submission is always saved in separate dated sub-directory. I mark the files in the latest submssion that arrives before the last cut-off date. Make sure your latest submission contains *all* the required files! Submissions made after the last cut-off date for an assignment are saved (all submissions are saved separately) but will not normally be marked. You can see a list of options for submit by using its name and giving no file names. With options, you can see a list of all your submissions. Whatever you submit becomes a marking candidate submission. I normally ignore the previous submissions and late submissions and I mark only the files found in the latest on-time submission. If you are required to submit three files for an exercise, you must always submit all three files using one submit command line. If you submit two files, and then submit a third file, on time, a minute later or a day later, the one-file later submission is the only one I find and mark (and it is missing two files!). I don't go looking for missing files in previous submissions. Always submit *all* your exercise files (and *only* your exercise files) using one submit command line. Normally, I only mark the files found in the latest submission that arrives before the last cut-off date. Make sure every submission includes *all* the necessary files. You can see other options to the submit command by typing the command name with no arguments. Since every submission is saved separately, and I always mark the most recent one that is on time, you rarely need to delete a previous submission (unless you accidentally submit something by mistake). If you do use submit to delete your current submission, the previous saved submission becomes the current submission. You can get back a "tar" file copy of your current submission using "-fetch". Always keep a personal copy of anything you submit. Stuff happens.