mirror of
https://github.com/kellyjonbrazil/jc.git
synced 2025-07-17 01:32:37 +02:00
add examples
This commit is contained in:
@ -83,12 +83,12 @@ Schema:
|
|||||||
|
|
||||||
Examples:
|
Examples:
|
||||||
|
|
||||||
$ rsync | jc --rsync-s
|
$ rsync -i -a source/ dest | jc --rsync-s
|
||||||
{example output}
|
{"type":"file","filename":"./","metadata":".d..t......","update_...}
|
||||||
...
|
...
|
||||||
|
|
||||||
$ rsync | jc --rsync-s -r
|
$ cat rsync_backup.log | jc --rsync-s
|
||||||
{example output}
|
{"type":"file","filename":"./","date":"2022/01/28","time":"03:53...}
|
||||||
...
|
...
|
||||||
|
|
||||||
<a id="jc.parsers.rsync_s.parse"></a>
|
<a id="jc.parsers.rsync_s.parse"></a>
|
||||||
|
@ -78,12 +78,12 @@ Schema:
|
|||||||
|
|
||||||
Examples:
|
Examples:
|
||||||
|
|
||||||
$ rsync | jc --rsync-s
|
$ rsync -i -a source/ dest | jc --rsync-s
|
||||||
{example output}
|
{"type":"file","filename":"./","metadata":".d..t......","update_...}
|
||||||
...
|
...
|
||||||
|
|
||||||
$ rsync | jc --rsync-s -r
|
$ cat rsync_backup.log | jc --rsync-s
|
||||||
{example output}
|
{"type":"file","filename":"./","date":"2022/01/28","time":"03:53...}
|
||||||
...
|
...
|
||||||
"""
|
"""
|
||||||
import re
|
import re
|
||||||
|
Reference in New Issue
Block a user