Pc2zip

From PC2wiki
Revision as of 14:53, 24 February 2009 by Doug Lane (talk | contribs) (added sample use sections)
Jump to: navigation, search

pc2zip - script to create pc2 zip file. This file is used by the PC² Team.

To create a PC² zip file use the script pc2zip, this script will create a .zip file in the archive/ directory.

The procedure is describe in the FAQ in the section Getting Help as well as in this following Example of use sections.

Example of use (Version 8)

In this example the file archive\200902242149-Site-1.zip is created, the pc2 team requests that users send the zip file (archive\200902242149-Site-1.zip) to the pc2 team.

c:\pc2> pc2zip
Tue Feb 24 13:49:51 PST 2009 Creating archive\200902242149-Site-1.zip
Tue Feb 24 13:49:51 PST 2009 Adding db\clar.db
Tue Feb 24 13:49:51 PST 2009 Adding db\global.set
Tue Feb 24 13:49:51 PST 2009 Adding db\global.set.bak
Tue Feb 24 13:49:51 PST 2009 Adding db\local.set
Tue Feb 24 13:49:51 PST 2009 Adding db\local.set.bak
Tue Feb 24 13:49:51 PST 2009 Adding db\runinfo.dat
Tue Feb 24 13:49:51 PST 2009 Adding db\runs\s1r1.fil
Tue Feb 24 13:49:51 PST 2009 Adding evals.log
Tue Feb 24 13:49:51 PST 2009 Adding execute\cstderr.pc2
Tue Feb 24 13:49:51 PST 2009 Adding execute\cstdout.pc2
Tue Feb 24 13:49:51 PST 2009 Adding execute\estderr.pc2
Tue Feb 24 13:49:51 PST 2009 Adding execute\estdout.pc2
Tue Feb 24 13:49:51 PST 2009 Adding execute\sumit.class
Tue Feb 24 13:49:51 PST 2009 Adding execute\sumit.dat
Tue Feb 24 13:49:51 PST 2009 Adding execute\sumit.java
Tue Feb 24 13:49:51 PST 2009 Adding index.html
Tue Feb 24 13:49:51 PST 2009 Adding OLD\prob1-200810290332\prob1.txt
Tue Feb 24 13:49:51 PST 2009 Adding OLD\prob1-200810290334\prob1.txt
Tue Feb 24 13:49:51 PST 2009 Adding pc2admin.log
Tue Feb 24 13:49:51 PST 2009 Adding pc2judge.log
Tue Feb 24 13:49:51 PST 2009 Adding pc2reset
Tue Feb 24 13:49:51 PST 2009 Adding pc2serv.log
Tue Feb 24 13:49:51 PST 2009 Adding pc2team.log
Tue Feb 24 13:49:51 PST 2009 Adding pc2v8.ini
Tue Feb 24 13:49:51 PST 2009 Adding policy.ini
Tue Feb 24 13:49:51 PST 2009 Adding reject.ini
Tue Feb 24 13:49:51 PST 2009 Adding sitelist.ini
Tue Feb 24 13:49:51 PST 2009 Closing archive\200902242149-Site-1.zip
c:\pc2>

Example of use (Version 9)

In this example the file archive\200902242146-pc2archive.zip is created, the pc2 team requests that users send the zip file (archive\200902242146-pc2archive.zip) to the pc2 team.

c:\pc2> pc2zip
Tue Feb 24 13:46:24 PST 2009 Creating archive\200902242146-pc2archive.zip
Tue Feb 24 13:46:24 PST 2009 Adding executesite1judge3\cstderr.pc2
Tue Feb 24 13:46:24 PST 2009 Adding executesite1judge3\cstdout.pc2
Tue Feb 24 13:46:24 PST 2009 Adding executesite1judge3\sumit.cpp
Tue Feb 24 13:46:24 PST 2009 Adding executesite1judge3\sumit.java
Tue Feb 24 13:46:24 PST 2009 Adding executesite1judge3\sumit.py
Tue Feb 24 13:46:24 PST 2009 Adding executesite1team2\cstderr.pc2
Tue Feb 24 13:46:24 PST 2009 Adding executesite1team2\cstdout.pc2
Tue Feb 24 13:46:24 PST 2009 Adding executesite1team2\estderr.pc2
Tue Feb 24 13:46:24 PST 2009 Adding executesite1team2\estdout.pc2
Tue Feb 24 13:46:24 PST 2009 Adding executesite1team2\Sumit.class
Tue Feb 24 13:46:24 PST 2009 Adding executesite1team2\sumit.dat
Tue Feb 24 13:46:24 PST 2009 Adding executesite1team2\Sumit.java
Tue Feb 24 13:46:24 PST 2009 Adding logs\pc2.startup-0.log
Tue Feb 24 13:46:24 PST 2009 Adding logs\pc2.startup-0.log.lck
Tue Feb 24 13:46:24 PST 2009 Adding logs\TEAM2@site0-0.log
Tue Feb 24 13:46:24 PST 2009 Adding logs\TEAM2@site0-0.log.lck
Tue Feb 24 13:46:24 PST 2009 Adding logs\TEAM2@site1.security-0.log
Tue Feb 24 13:46:24 PST 2009 Adding logs\TEAM2@site1.security-1.log
Tue Feb 24 13:46:24 PST 2009 Adding logs\TEAM2@site1.security-1.log.lck
Tue Feb 24 13:46:24 PST 2009 Adding pc2export.dat
Tue Feb 24 13:46:24 PST 2009 Adding pc2reset
Tue Feb 24 13:46:24 PST 2009 Adding results.xml
Tue Feb 24 13:46:24 PST 2009 Closing archive\200902242146-pc2archive.zip
c:\pc2>

See Also

External Links