Use the command turnin to submit your project. Its usage is:
turnin --submit <grader> <directory-name> <file1> <file2>...
For this course the grader is harshd. You will be given a directory name for every project and puzzler where you have to turn in your program, for e.g. cs371ppj1 for project 1, cs371ppz1 for puzzler 1, cs371ppj2 for project 2, cs371ppz2 for puzzler 2, and so on.
Whenever you submit a file, it gets time stamped.
You can see whether the submission was successful or not by giving the command:
turnin --list <grader> <directory-name>
This should show the list of files which got submitted.
If you want to submit 3n+1.c++ to directory cs371ppz1 and grader harshd,
turnin --submit harshd cs371ppz1 3n+1.c++
then use --list to confirm:
turnin --list harshd cs371ppz1
If you want to submit the files Overview.html, Timer.h, Pairs.h, main.c++, and main.out to the directory cs371ppj1 and grader harshd, then
1) You need to pack all files into a zip file using the zip command:
zip Pairs.zip Overview.html Timer.h Pairs.h main.c++ main.out
This produces Pairs.zip.
2) Use turnin command to submit the ZIP file:
turnin --submit harshd cs371ppj1 Pairs.zip
To check if you've successfully submitted all files, use the --list option of turnin:
turnin --list harshd cs371ppj1
If the files don't have to be packed in a ZIP or TAR file, you may skip the first step in Example 2 and just
turnin --submit harshd cs371ppj1 Overview.html Timer.h Pairs.h main.c++ main.out
If you submit a file a second time, then the previous file and its time stamp will get over-written. Once submitted, you can't undo your submission (although you can overwrite any file).
Type "man turnin" on any department Unix machine (press space to move forward and q to quit).
The original author of this document is Jun Yuan. I copied it from here.