1.0.1 • Published 2 years ago

url-file-version v1.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

url-file-version

check file version from url

usage

used to find the latest version of a file from a website, which can be an ftp style listing or just in the web text.

Usage:  url-file-version [options]
Options:
--versionShow version numberboolean
-u, --urlurl to check for versionrequired
-p, --prefixprefix of filename to check for, eg: u-boot for u-boot-2021.10.tar.bz2required
-e, --endingending of filename to check for, eg: .tar.bz2 for u-boot-2021.10.tar.bz2required
-b, --briefonly output version number foundboolean
-h, --helpShow helpboolean

example

url-file-version --url https://ftp.denx.de/pub/u-boot/ --prefix u-boot --ending .tar.bz2