findhttp: List http/html files

This is a package candidate release! Here you can preview how this package release will appear once published to the main package index (which can be accomplished via the 'maintain' link below). Please note that once a package has been published to the main package index it cannot be undone! Please consult the package uploading documentation for more information.

[maintain] [Publish]

Tool for listing files (recursively) in an http directory


[Skip to Readme]

Properties

Versions 0.1, 0.1.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:12:25Z

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees


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.