cp -r [location of folder you'd like to copy] [location where you'd like to copy the files]Note that in the second set of []'s you'll need to put a "." symbolizing where you'd like the copied files to go. For example, I created the directory "1131/W13_CS116_Handin" in the archives folder. Then, from the cs116 directory I ran the command
cp -r handin/a01 archives/1131/W13_CS116_Handin/.which copied the a01 handin folder into my new directory. (Notice the . at the end!!)
To delete folders you've archived (only do this AFTER the final exam!) use the command
rm -rf [foldername]
-- GradonNicholls - 16 Apr 2013