remwharead/remwharead.1.adoc

1.7 KiB

remwharead(1) Manual Page

NAME

remwharead - Remember what you read, and when

SYNOPSIS

remwharead [-t tags] URL

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

DESCRIPTION

remwharead saves URLs of things you read in a database along with an URL 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 URL, delimited by commas.

-e format, --export format

Export to format. Possible values are csv and asciidoc.

-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. Time zones are ignored at the moment. Example: --span 2019-01-01,2019-02-10T12:30.

-S attribute, --sort attribute

Sort by time, tag or both (default) when exporting to asciidoc.

-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 -

FILES

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

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