mirror of
https://github.com/kellyjonbrazil/jc.git
synced 2025-07-15 01:24:29 +02:00
add examples
This commit is contained in:
@ -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>
|
||||
|
@ -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
|
||||
|
Reference in New Issue
Block a user