You will use the turnin program to submit electronic versions of your homework. The command to submit files takes the form:
turnin --submit ben homework-name file [file....]
where homework-name is the name I will provide you for a given assignment, and file is the name of a file or a directory you want to submit. For example, here is a session where I submit the files f1.txt and f2.txt as a solution to an assignment named hw1:
(tumnus.cs.utexas.edu) ~ % turnin --submit ben hw1 f1.txt f2.txt turnin: submitting f1.txt ... done turnin: submitting f2.txt ... done turnin: all files submitted; use -list option to confirm
Notice the last line says I can use the list option to confirm. Let's do that:
(tumnus.cs.utexas.edu) ~ % turnin --list ben hw1 12289544 4 drwx------ 2 ben grad 4096 Feb 1 10:08 . 12289545 0 -rw-r--r-- 1 ben grad 0 Feb 1 10:08 ./f1.txt 12289546 0 -rw-r--r-- 1 ben grad 0 Feb 1 10:08 ./f2.txt
I get back a list of files I've submitted for hw1
I can also re-submit files, if I've decided to change them:
(tumnus.cs.utexas.edu) ~ % turnin --submit ben hw1 f1.txt f2.txt turnin: submitting f1.txt ... done turnin: submitting f2.txt ... done turnin: all files submitted; use -list option to confirm (tumnus.cs.utexas.edu) ~ % turnin --list ben hw1 12289544 4 drwx------ 2 ben grad 4096 Feb 1 10:14 . 12289545 0 -rw-r--r-- 1 ben grad 0 Feb 1 10:14 ./f1.txt 12289546 0 -rw-r--r-- 1 ben grad 0 Feb 1 10:14 ./f2.txt
Notice the timestamp is later, meaning these are newer versions of the files. (You can submit as many times as you like, up to the homework deadline. I will grade the files with the latest time stamp.)
I can also submit an entire directory of files:
(tumnus.cs.utexas.edu) ~ % turnin --submit ben hw1 dir1 turnin: submitting dir1 ... done turnin: all files submitted; use -list option to confirm
For more information, see the turnin man page.