public class tar extends java.lang.Object implements TarProgressDisplay
usage: com.ice.tar.tar has three basic modes: com.ice.tar -c [options] archive files... Create new archive containing files. com.ice.tar -t [options] archive List contents of tar archive com.ice.tar -x [options] archive Extract contents of tar archive. options: -f file, use 'file' as the tar archive -v, verbose mode -z, use GZIP compression -D, debug archive and buffer operation -b blks, set blocking size to (blks * 512) bytes -o, write a V7 format archive rather than ANSI -u name, set user name to 'name' -U id, set user id to 'id' -g name, set group name to 'name' -G id, set group id to 'id' -?, print usage information --trans, translate 'text/*' files --mime file, use this mime types file and translate --usage, print usage information --version, print version information The translation options will translate from local line endings to UNIX line endings of '\\n' when writing tar archives, and from UNIX line endings into local line endings when extracting archives. Written by Tim Endres This software has been placed into the public domain.
TarArchive
Constructor and Description |
---|
tar()
Establishes the default userName with the 'user.name' property.
|
Modifier and Type | Method and Description |
---|---|
void |
instanceMain(java.lang.String[] argv)
This is the "real" main.
|
static void |
main(java.lang.String[] argv)
The main entry point of the tar class.
|
void |
showTarProgressMessage(java.lang.String msg)
Display progress information by printing it to System.out.
|
public static void main(java.lang.String[] argv)
public void instanceMain(java.lang.String[] argv)
public void showTarProgressMessage(java.lang.String msg)
showTarProgressMessage
in interface TarProgressDisplay
msg
- The message to display.Copyright © 2014 EsprIT-Systems. All Rights Reserved.