Generating tarfiles (files with extension .tar)
and using the turnin program on CSNet
-
Transfer all your assignment files to a CS departmental Unix machine.
- Create a directory named Lastname-Firstname-A1:
-
mkdir Lastname-Firstname-A1
Important: replace Lastname and Firstname with your real names.
- Copy all your assignment files to the directory Lastname-Firstname-A1:
-
cp prob1.c prob2.java Lastname-Firstname-A1
- Use the tar program to store your files from the directory Lastname-Firstname-A1
in a tar file (archive file) called Lastname-Firstname-A1.tar . To
create the tar file, type:
-
tar cvf Lastname-Firstname-A1.tar Lastname-Firstname-A1
- You can list the files in Lastname-Firstname-A1.tar
-
tar tf Lastname-Firstname-A1.tar
- Use turnin on the CSNet to copy the file Lastname-Firstname-A1.tar
to the class directory for grading:
-
turnin 211-501 Lastname-Firstname-A1.tar
Important: replace 501 with your current section number.
- Your TA will unpack your files using tar
-
tar xvf userID-Lastname-Firstname-A1.tar
userID is automatically added by the program turnin.