JANOS Help System: [Commands] [Topics] [Tech Support] [Printable Manual] [Search]
ARC/JAR/ZIP User Commands NAME arc - manages content within a compressed library file. ALIASES ARC, JAR, ZIP SYNOPSIS arc [OPTIONS] archive [FILES] DESCRIPTION ARC is a compression and file packaging utility. Files are stored in single library usually with the .ZIP or .JAR extension. This is used to compress files reducing storage space and to package multiple files in one library that can be managed as a single entity. -E Extract - Extracts uncompressed FILES to their relative path locations. To override the destination path use the -P option. -A Add - Compresses and adds FILES to an archive preserving their relative paths. To override the stored paths use the -P option. -U Update - Compresses and updates FILES in the archive when the new files have been more recently modified. -F Freshen - Scans the archive comparing the last modification dates with any matching external files. If an external file has been modified more recently it will replace the copy in the archive. -M Move - Same as -A adding FILES to the archive. Once the archive has been successfully modified the added external files are removed. The FILES are moved into the archive. -D Delete - Remove FILES from the archive. -L List - Display archive content. Use the -V verbose option for greater detail. -S Recurses folders when wildcard file specifications are used. -P pathspec Overrides the destination path associated with a file. When extracting this is affects the destination of the file(s). When adding this defines the relative path stored for the file(s). -V Verbose output. Increases detail. -O Overwirte when extracting. If an external copy of the file would be overwritten the action is confirmed. The -O option bypasses the confirmation and overwrites as requested. -T Test the archive. This decompresses archive content and confirms that each file can be successfully extracted. This uses stored CRC information. NOTES JAR and ZIP archives are equivalently formatted archive files. The JAR file is so named as it generally contains an application program for the JNIOR written in Java. In some cases a ZIP/JAR library forms a virtual folder with the name of the library (without the extension) located at that point in the file system. That allows the JANOS Java Virtual Machine, Webserver and Help system to access files directly out of archives. Programs and websites each require multiple files in order to function properly and an archive file allows those to be transferred and managed easily as a group. With JANOS 2.4 the CAT command can retrieve and display text content directly from a virtual folder formed by an archive file. This can give you easy access to the extended log files backed up by the optional JBakup utility. SEE ALSO HELP Topics: JVM, WEBSERVER, CAT, JBAKUP [/flash/manpages/manpages.hlp:3107]