Ingolf Wagner
132e10d9bb
commit ac9da4ef336ed4a7d65196261b5ef35132c2fa5c Author: Ingolf Wagner <contact@ingolf-wagner.de> Date: Mon Jun 19 22:14:28 2017 +0200 update README commit3ae146424a
Author: Ingolf Wagner <contact@ingolf-wagner.de> Date: Mon Jun 19 22:04:52 2017 +0200 add man page commit68d49fda1c
Author: Ingolf Wagner <contact@ingolf-wagner.de> Date: Thu Jun 15 23:18:34 2017 +0200 add can read from input now #4
54 lines
1.2 KiB
Plaintext
54 lines
1.2 KiB
Plaintext
NAME
|
|
memo
|
|
|
|
SYNOPSIS
|
|
memo <command> [arguments]
|
|
|
|
DESCRIPTION
|
|
A tool to memorize stuff.
|
|
It saves files $MEMO_DIR ($HOME/memo by default).
|
|
The structure is $MEMO_DIR/<topic>/memo.md
|
|
You can also copy files in the topic folder as well.
|
|
|
|
We call the folder $MEMO_DIR/<topic> a 'topic folder'.
|
|
|
|
|
|
COMMANDS
|
|
add <topic> [text] adds text to the memo.md in the topic folder.
|
|
if text is not given it will read from stdin.
|
|
|
|
copy <topic> <file-to-copy> copy a file to the topic folder.
|
|
|
|
search <term-to-search> search for a term in $MEMO_DIR using ack.
|
|
|
|
show <topic> shows memo.md in the topic folder.
|
|
also showes a list of all files in the topic folder
|
|
|
|
list prints a list of all topics.
|
|
|
|
|
|
CONFIGURATION
|
|
|
|
$MEMO_DIR holds the folder where to store the memo files.
|
|
Default is $HOME/memo
|
|
|
|
EXAMPLE
|
|
|
|
|
|
Append the string "A search-engine" to the memo.md file
|
|
in the topic "google".
|
|
|
|
$> memo add google A search-engine
|
|
|
|
Appends the content of "www.google.com" to the memo.md file
|
|
the topic "google".
|
|
|
|
$> curl www.google.com | memo add google
|
|
|
|
Copy the "Invoice.pdf" file to the "lawsuit" topic.
|
|
|
|
$> memo copy lawsuit ~/Downloads/Invoice.pdf
|
|
|
|
|
|
|