Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/juhp/findhttp
Simple `find` but with http support
https://github.com/juhp/findhttp
Last synced: 17 days ago
JSON representation
Simple `find` but with http support
- Host: GitHub
- URL: https://github.com/juhp/findhttp
- Owner: juhp
- License: gpl-3.0
- Created: 2019-06-20T05:54:22.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2022-10-19T11:13:30.000Z (about 2 years ago)
- Last Synced: 2024-12-02T09:57:29.420Z (about 1 month ago)
- Language: Haskell
- Homepage:
- Size: 23.4 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# findhttp
[![Hackage](https://img.shields.io/hackage/v/findhttp.svg)](https://hackage.haskell.org/package/findhttp)
[![GPL license](https://img.shields.io/badge/license-GPLv3+-brightgreen.svg)](https://www.gnu.org/licenses/gpl.html)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
```shellsession
$ findhttp --version
0.1.1
$ findhttp --help
find for httpUsage: 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
```shellsession
$ 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`.