findhttp: List http/html files

[ gpl, program, utility ] [ Propose Tags ]

Tool for listing files (recursively) in an http directory


[Skip to Readme]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees

Candidates

Versions [RSS] 0.1, 0.1.1
Change log CHANGELOG.md
Dependencies base (<5), bytestring, directory (>=1.3.1.0), filepath, Glob, http-directory (>=0.1.9), simple-cmd-args (>=0.1.3), text [details]
License GPL-3.0-only
Copyright 2019 Jens Petersen
Author Jens Petersen
Maintainer juhpetersen@gmail.com
Category Utility
Home page https://github.com/juhp/findhttp
Bug tracker https://github.com/juhp/findhttp/issues
Source repo head: git clone https://github.com/juhp/findhttp.git
Uploaded by JensPetersen at 2022-10-19T11:13:37Z
Distributions NixOS:0.1.1
Executables findhttp
Downloads 519 total (9 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
Last success reported on 2022-10-19 [all 1 reports]

Readme for findhttp-0.1.1

[back to package description]

findhttp

Hackage GPL license

A simple find tool that supports http directories as well as local files.

It can be useful for example if you encountered a http directory file server with html listing that truncates filenames.

Usage

$ findhttp --version
0.1.1
$ findhttp --help
find for http

Usage: findhttp [--version] [-m|--maxdepth DEPTH]
                [(-f|--files) | (-d|--dirs) | (-s|--symlinks)] [-n|--name GLOB]
                [-u|--show-urls] URL/DIR
  Find files from an http "directory"

Available options:
  -h,--help                Show this help text
  --version                Show version
  -m,--maxdepth DEPTH      Maximum search depth (default 10)
  -f,--files               List files only
  -d,--dirs                List directories only
  -s,--symlinks            List symlinks only (not http)
  -n,--name GLOB           Limit files to glob matches
  -u,--show-urls           Prefix files with url

Example

$ findhttp https://file.example.com/files/
dir1/
file1
file2
file3

Installation

Build (from Hackage) with cabal install findhttp or stack install findhttp.

Build from source with cabal install or stack install.