remwharead/remwharead.1.adoc

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

FILES

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

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