An example of creating a tarfile:
% tar cvf prog2.tar Main.java Square.java Circle.java Shape.java README Makefilecreates a tarfile named prog2.tar containing the files Main.java, Square.java, Circle.java, Shape.java, README, and Makefile
More information about using tar can be found here.
% cs35handinyou should see a menu that looks like the following:
Hi, your_username! This program allows you to turn in your solution to Homework 2 -- due by midnight Sunday, September 12 Enter 'h' to hand in a homework file Enter 'v' to view the files you have turned in Enter 'q' to quit handin>
To list the Exercises that you have submitted, type v.
Remember: you can re-submit solution to homework assignments any time before the due date (just re-run cs35hanin, and re-submit any Exercises that you wish to change).
allspice,[~],3:15pm% cs35handin Hi, newhall! This program allows you to turn in your solution to Homework 1 -- due by midnight Monday, September 12 Enter 'h' to hand in a homework file Enter 'v' to view the files you have turned in Enter 'q' to quit handin> h Which of the following files do you wish to hand in? (a) Hello World Program (Problem 1) (b) Goodbye Cruel World Program (Problem 2) Enter choice (a-b): a What is the name of your Problem 1 (Hello World Program) tar file? prog1.tar OK, you have now turned in your Problem 1 (Hello World Program) tar file. It will appear in the list of submitted files as "hw1.1.tar" Enter 'h' to hand in a homework file Enter 'v' to view the files you have turned in Enter 'q' to quit handin> v newhall, you have turned in the following files: hw1.1.tar Enter 'h' to hand in a homework file Enter 'v' to view the files you have turned in Enter 'q' to quit handin> q allspice,[~],3:17pm%