瀏覽代碼

Docs update

Nikola Kotur 3 年之前
父節點
當前提交
506a254858
共有 1 個文件被更改,包括 16 次插入1 次删除
  1. 16 1
      README.md

+ 16 - 1
README.md

@@ -28,7 +28,22 @@ This is how you should run it:
 
 Use `./run.py --help` to see what you can feed it with.
 
-After you run it, it will wait for USB drive to be inserted that has a partition (as it is the case with my dashcam). Once it detects it, it will join all video files of a certain day and upload that to nas using FTP protocol.
+After you run it, it will wait for USB drive to be inserted that has a partition (as it is the case with my dashcam). Once it detects it, it will join all video files of a certain day and upload that to nas using FTP protocol. Example output:
+
+```
+[I 210425 01:52:42 sync:39] Starting to monitor for usb
+[D 210425 01:52:50 sync:42] Got USB event: add
+[D 210425 01:52:50 sync:42] Got USB event: add
+[I 210425 01:52:50 sync:90] Detected /dev/sdb1 (partition)
+[I 210425 01:52:50 sync:92] Mounting /dev/sdb1 on /tmp/tmpymyl327h
+[I 210425 01:52:50 sync:98] Joining video group 20210424
+[I 210425 02:14:44 sync:82] Removing source files
+[I 210425 02:14:45 sync:104] Umounting /dev/sdb1 from /tmp/tmpymyl327h
+[I 210425 02:14:45 sync:109] Uploading /var/dashcam/20210424.mp4 to 192.168.88.242
+[I 210425 02:46:50 sync:112] Done
+[D 210425 09:37:00 sync:42] Got USB event: remove
+[D 210425 09:37:00 sync:42] Got USB event: remove
+```
 
 ## Licensing