diff options
author | typebrook <typebrook@gmail.com> | 2019-10-29 18:05:42 +0800 |
---|---|---|
committer | typebrook <typebrook@gmail.com> | 2019-10-29 18:05:42 +0800 |
commit | c552c7a60d3a313060b68f64f19eea134f6f6712 (patch) | |
tree | e1e39b18c7989438ee8344fb1964d32ad0982df8 /alias | |
parent | 9e6d7fc26016ecf845163d2e821b90e7c33bb906 (diff) |
update
Diffstat (limited to 'alias')
-rw-r--r-- | alias | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -154,7 +154,7 @@ alias data-taiwan-town='curl -o town.zip -L http://data.moi.gov.tw/MoiOD/System/ | |||
154 | alias data-taiwan-village='curl -o village.zip -L http://data.moi.gov.tw/MoiOD/System/DownloadFile.aspx\?DATA\=B8AF344F-B5C6-4642-AF46-1832054399CE' | 154 | alias data-taiwan-village='curl -o village.zip -L http://data.moi.gov.tw/MoiOD/System/DownloadFile.aspx\?DATA\=B8AF344F-B5C6-4642-AF46-1832054399CE' |
155 | alias data-rudymap='curl -O https://raw.githubusercontent.com/alpha-rudy/taiwan-topo/master/styles/mapsforge_style/MOI_OSM.xml' | 155 | alias data-rudymap='curl -O https://raw.githubusercontent.com/alpha-rudy/taiwan-topo/master/styles/mapsforge_style/MOI_OSM.xml' |
156 | alias data-osm-diff="curl https://planet.openstreetmap.org/replication/minute/state.txt |\ | 156 | alias data-osm-diff="curl https://planet.openstreetmap.org/replication/minute/state.txt |\ |
157 | sed -n 2p | cut -d'=' -f2 | sed 's/\(.\{1\}\)\(.\{3\}\)/00\1\/\2\//' |\ | 157 | sed -n 2p | cut -d'=' -f2 | sed -r 's/(.{1})(.{3})/00\1\/\2\//' |\ |
158 | xargs -I {} echo -e https://planet.openstreetmap.org/replication/minute/'{}'.osc.gz |\ | 158 | xargs -I {} echo -e https://planet.openstreetmap.org/replication/minute/'{}'.osc.gz |\ |
159 | xargs curl -O" | 159 | xargs curl -O" |
160 | 160 | ||