$ EGET_IPFS_DB=/path/to/file.txt eget http://somesite.ru/somefile.dat
```
-U|-A|--user-agent - send browser like UserAgent"
if the URL already exists in EGET IPFS DB, it will download via IPFS, otherwise it will download in a usual way and put to IPFS and EGET IPFS DB after it.
-O file - download to this file (use filename from server if missed)"
## IPFS related environment variables:
```
EGET_IPFS={disabled,auto,brave,local,gateway}
```
disabled by default (auto if EGET_IPFS_DB is set)
auto will check brave, local, gateway
--list - print files from url with mask"
```
EGET_IPFS_DB=/path/to/file.txt
```
file with text database of URL CID filename accordance
--latest - print only latest version of file"
```
EGET_IPFS_API=
```
set IPFS api for ipfs command, by default `/ip4/127.0.0.1/tcp/5001`
```
EGET_IPFS_GATEWAY=
```
http(s) gateway for download ipfs if there is no ipfs command and local sources
default: https://cloudflare-ipfs.com/ipfs
Examples:
$ eget http://example.com/e/* - download all files in e/ dir
$ eget http://example.com/list *.txt - download all *.txt files listed at list page
$ eget --list --latest https://github.com/deemru/chromium-gost/releases "chromium-gost-*linux-*" - download latest release by mask