Class GetFile


  • public class GetFile
    extends ToolRunnerBase
    A command-line tool to get ARC files from the bitarchive.

    Usage: java dk.netarkivet.archive.tools.GetFile arcfilename [destination-file]

    • Constructor Detail

    • Method Detail

      • main

        public static void main​(java.lang.String[] argv)
        Main method. Retrieves a file from the bitarchive and copies it to current working directory. Setup, teardown and run is delegated to the GetFileTool class. Management of this, exception handling etc. is delegated to ToolRunnerBase class.
        Parameters:
        argv - Takes one or two command line parameter: the name of the file to retrieve. optionally, the name of the destination file.