1
0
mirror of https://github.com/kellyjonbrazil/jc.git synced 2025-07-15 01:24:29 +02:00

add examples

This commit is contained in:
Kelly Brazil
2022-02-07 06:42:35 -08:00
parent 2f3f78e8d3
commit 8611aff06b
2 changed files with 8 additions and 8 deletions

View File

@ -83,12 +83,12 @@ Schema:
Examples:
$ rsync | jc --rsync-s
{example output}
$ rsync -i -a source/ dest | jc --rsync-s
{"type":"file","filename":"./","metadata":".d..t......","update_...}
...
$ rsync | jc --rsync-s -r
{example output}
$ cat rsync_backup.log | jc --rsync-s
{"type":"file","filename":"./","date":"2022/01/28","time":"03:53...}
...
<a id="jc.parsers.rsync_s.parse"></a>

View File

@ -78,12 +78,12 @@ Schema:
Examples:
$ rsync | jc --rsync-s
{example output}
$ rsync -i -a source/ dest | jc --rsync-s
{"type":"file","filename":"./","metadata":".d..t......","update_...}
...
$ rsync | jc --rsync-s -r
{example output}
$ cat rsync_backup.log | jc --rsync-s
{"type":"file","filename":"./","date":"2022/01/28","time":"03:53...}
...
"""
import re