remwharead/remwharead.1.adoc

2.4 KiB

remwharead(1) Manual Page

NAME

remwharead - Saves URIs of things you want to remember in a database

SYNOPSIS

remwharead [-t tags] URI

remwharead -e format [-f file] [-s start,end]

DESCRIPTION

remwharead saves URIs of things you want to remember in a database along with an URI to the archived version, the current date and time, title, description, the full text of the page and optional tags.

OPTIONS

-t tags, --tags tags

Add tags to URI, delimited by commas.

-e format, --export format

Export to format. Possible values are csv and asciidoc. See FORMATS.

-f file, --file file

Save output to file. Default is stdout.

-S start,end, --span start,end

Only export entries between and including start and end. start and end are date and time representations according to ISO 8601 (YYYY-MM-DDThh:mm:ss). Time zones are ignored. Example: --span 2019-01-01,2019-02-10T12:30.

-h, --help

Show help message.

-V, --version

Print version, copyright and license.

EXAMPLES

remwharead -t tag1,tag2 https://example.com/article.html

remwharead -e asciidoc -f out.adoc -s 2019-04-01,2019-05-31

remwharead -e asciidoc | asciidoctor --backend=html5 --out-file=out.html -

FORMATS

CSV

CSV is short for comma separated values. All fields are quoted and delimited by commas. Line breaks in the full text are converted to "\n". Our CSV implementation follows RFC 4180 and the full MIME media type is text/csv;charset=utf-8;header=present.

AsciiDoc

AsciiDoc is a markup language that can be read as plain text or converted to HTML, PDF and many other formats.

PROTOCOL SUPPORT

Since remwharead is built on libcurl, it supports the same protocols. See curl(1), section DESCRIPTION. Titles and descriptions are currently only extracted when using HTTP(S).

ENVIRONMENT

You can use proxy servers with the same environment variables as curl. See curl(1), section ENVIRONMENT.

FILES

  • Database: ${XDG_DATA_HOME}/remwharead/database.sqlite

${XDG_DATA_HOME} is usually ~/.local/share.

SEE ALSO

curl(1)