-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.config.template
executable file
·59 lines (50 loc) · 1.71 KB
/
package.config.template
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
#!/bin/sh
#
# Template for setting up a config file
# for a given package
#
# Author: lnh
# TR: 12266
# Date: March 2016
#
comment="github repository name"
# set is_xml_query=1 when specifying an xml or json URL that has spaces, this prevents
# download_package from looping through the URL tokens delimited by a space.
is_xml_query=0
# This will be used in the naming the log file
#
# set path of files on remote server
REMOTE_SITE=ftp.informatics.jax.org
# url to remote site
REMOTE_SITE_URL=ftp://$REMOTE_SITE/
REMOTE_DIR=/export/gondor/ftp/private/imsr/incoming
# if not set, LOCAL_DIR=$REMOTE_SITE$REMOTE_DIR; use to specify a custom output directory
# relative to $DATA_DOWNLOADS
# LOCAL_DIR=???
## List of files to download
REMOTE_FILES="*.dat *.txt"
WGET_OPTIONS="--no-parent -S -t 10 -nd -m"
#
# wget
# -S = print the headers sent by HTTP servers and responses sent by FTP servers.
# -o = full path to log file
# -O = full path to output file
# -t = number of retries
# -r = reverse
# -k 7 = sort by the 7th column
# -nd = don't create directories
# -m = Turn on options suitable for mirroring. This option turns on recursion
# and time-stamping, sets infinite recursion depth and keeps FTP
# directory listings. It is currently equivalent to .-r -N -l
# inf --no-remove-listing..
#-np
# --no-parent
# Do not ever ascend to the parent directory when retrieving recur-
# sively. This is a useful option, since it guarantees that only the
# files below a certain hierarchy will be downloaded.
#******** Optional *************
# Do not download any files if local directories do not exist
local_dir_check=true
# Remove any files in local directory that are not in remote directory
do_deletes=false
recursive=false