gwget

command module
v0.0.0-...-60e05c4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 25, 2019 License: Apache-2.0 Imports: 9 Imported by: 0

README

Wget based on file list

Documentation Go Report Card Build Status

The tool can (for example) mirror a media folder to a staging or developer server from the current live, over standard http requests, when scp is way too slow, creating tarball is not an option because of space requirements, VPN makes it hard to run tar | tar or rsync.

Usage

source$ cd ~/web/media
source$ find . -type f | grep -v '.thumb' | grep -v product/cache | sed 's#^./##' > ~/media.txt

scp media.txt onto the target server with a gwget binary

target$ cd ~/web/media
target$ ~/gwget ~/media.txt https://www.somesite.com/media/

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL