.\" @(#)votget.1 1.0 Feb-2013 MJF .TH VOTGET 1 "Feb 2013" "VOClient Package" .SH NAME votget \- Download URLs or access references in a VOTable .SH SYNOPSIS \fBvotget\fP [\fI\fP] [ | ] .br \fBvotget\fP [\fI\fP] \--samp # to listen for SAMP messages .SH OPTIONS The \fIvotget\fP task accepts the following options: .TP 6 .B \-h, --help Print a help summary to the terminal and exit. No processing is done following this flag. .TP 6 .B -b \fIBASE\fP,--base \fIBASE\fP Base output filename. The \fIBASE\fP name will be appended with a running (leading zero, 4-digit) number for each downloaded file. .TP 6 .B -e [\fIEXTN\fP],--extn [\fIEXTN\fP] Extension to add to each filename. If no \fIEXTN\fP is provided, a guess of the file type will be made an an appropriate extension chosen automatically. .TP 6 .B -f,--fmt \fIFILE_TYPE\fP Download only file of the specified \fITYPE\fP. The \fITYPE\fP value is used in a substring match of the image format column value. The format column uses a well-known UCD or may be specified using the \fI-u\fP or \fI-F\fP flags. .TP 6 .B -s,--sum Use the 32-bit file checksum numbers when appending to the \fIBASE\fP filename. By default, a sequential file number is used. .TP 6 .B -t,--tmp Input file is temporary, delete it when done. .TP 6 .B -u \fIUCD\fP,--ucd \fIUCD\fP Use ucd to identify access reference column. The VOTable \fI\fP containing the \fIucd=UCD\fP attribute will identify the access reference column used when matching the \fITYPE\fR value. .TP 6 .B -o \fINAME\fP,--output \fINAME\fP Output filename (single download only). This option may be used to specify the name of the downloaded file in cases where only a single file is requested. .TP 6 .B -v,--verbose Verbose output. .TP 6 .B -x,--extract Extract access references only. Files are not downloaded, the access reference URLs are written to the output file or stderr stream if no \fI-o\fP output file is given. .TP 6 .B -A \fICOLUMN\fP,--acref \fICOLNUM\fP Column number (0-indexed) for access reference column. .TP 6 .B -B,--bkg Background the download, i.e. run in a forked child process. .TP 6 .B -C,--cache Cache the downloaded file .TP 6 .B -D \fIDIR\fP,--download \fIdir\fP Specify download directory, i.e. download files to the \fIDIR\fP directory and not the current working directory. .TP 6 .B -F,--fmtcol . .TP 4 3) Download all the urls in the file 'urls.txt': .nf % votget -b foo urls.txt .fi .TP 4 4) Extract all the access references in a VOTable: .nf % votget -x results.xml .fi .SH BUGS No known bugs with this release. .SH Revision History Feb 2013 - First public release .SH Author Michael Fitzpatrick (fitz@noao.edu), Feb 2013 .SH "SEE ALSO" votcnv, votinfo, votpos, votsort, votstat