]> git.treefish.org Git - photosort.git/blobdiff - doc/photosort-config.json
fixing clean cache statement
[photosort.git] / doc / photosort-config.json
index 8dbc884f63551ff611cd19c830e3ad25f8d6254d..763b638e50964c8377c8cf15cf86f3e81a782628 100644 (file)
@@ -1,21 +1,27 @@
 {
 {
+    "cache_dir": "/path/to/some/directory",
     "bunches": [
         {
     "bunches": [
         {
-            "id": "mbk",
             "dst_dir": {
                 "path": "/var/local/photosort/sorted/mbk"
             },
             "src_dirs": [
                 {
                     "path": "/var/local/photosort/sorted/mbk/incoming",
             "dst_dir": {
                 "path": "/var/local/photosort/sorted/mbk"
             },
             "src_dirs": [
                 {
                     "path": "/var/local/photosort/sorted/mbk/incoming",
+                    "cool_time": 60,
+                    "max_time": 86400,
                     "cleanup": true
                 },
                 {
                     "path": "/var/local/photosort/shares/camera-evelyn",
                     "cleanup": true
                 },
                 {
                     "path": "/var/local/photosort/shares/camera-evelyn",
+                    "cool_time": 60,
+                    "max_time": 86400,
                     "cleanup": false
                 },
                 {
                     "path": "/var/local/photosort/shares/camera-guenther",
                     "cleanup": false
                 },
                 {
                     "path": "/var/local/photosort/shares/camera-guenther",
+                    "cool_time": 60,
+                    "max_time": 86400,
                     "cleanup": false
                 }
             ]
                     "cleanup": false
                 }
             ]