diff --git a/config.toml b/config.toml index 37c5cef4..9b1423af 100644 --- a/config.toml +++ b/config.toml @@ -100,7 +100,7 @@ path = '/mnt/branch1' mode = 'RW' [[branches.tier.branch]] active = true -path = '/mnt/disk*' +path = '/mnt/*' type = 'glob' mode = 'RW' if-not-mountpoint = 'fail' # 'fail' | 'deactivate' ? diff --git a/src/branch_tier.cpp b/src/branch_tier.cpp index 961cefd3..93232b15 100644 --- a/src/branch_tier.cpp +++ b/src/branch_tier.cpp @@ -26,6 +26,7 @@ namespace l pattern = v_.at("path").as_string(); fs::glob(pattern,&paths); + auto table = v_; for(auto &path : paths) fmt::print("path: {}\n",path); }