From d5ac3e2e1c0e857dcc5d079782a46e4c27acb43c Mon Sep 17 00:00:00 2001 From: Bryan Ashby Date: Mon, 18 Feb 2019 14:53:58 -0700 Subject: [PATCH 1/2] More info on fb scan --- docs/filebase/first-file-area.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/docs/filebase/first-file-area.md b/docs/filebase/first-file-area.md index ab76fe24..ded10ad3 100644 --- a/docs/filebase/first-file-area.md +++ b/docs/filebase/first-file-area.md @@ -84,3 +84,13 @@ fileBase: { ## Importing Areas Areas can also be imported using [oputil](/docs/admin/oputil.md) using proper FileGate "RAID" aka `FILEBONE.NA` style files. After importing areas, you may wish to tweak configuration such as better `desc` fields, ACS, or sorting. + +## Importing Files (Scan For New Files) +A common task is to *import* existing files to area(s). Consider a collection of retro BBS files in the area "Retro PC" (tag: `retro_pc` above) under the storage tag of `retro_pc_bbs`. You might choose to scan for new files in this area (and thus import new entries) as follows with `oputil.js`'s `fb scan`: + +```bash +./oputil.js fb scan --quick --tags retro,bbs,pc retro_pc@retro_pc_bbs +``` + +Please see [oputil](/docs/admin/oputil.md) for more information. + From 53e0358113761aff3ffddc24556abc1f0a6f29dd Mon Sep 17 00:00:00 2001 From: Bryan Ashby Date: Mon, 18 Feb 2019 14:57:52 -0700 Subject: [PATCH 2/2] More doc updates --- docs/filebase/first-file-area.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/filebase/first-file-area.md b/docs/filebase/first-file-area.md index ded10ad3..46d8d649 100644 --- a/docs/filebase/first-file-area.md +++ b/docs/filebase/first-file-area.md @@ -86,11 +86,13 @@ fileBase: { Areas can also be imported using [oputil](/docs/admin/oputil.md) using proper FileGate "RAID" aka `FILEBONE.NA` style files. After importing areas, you may wish to tweak configuration such as better `desc` fields, ACS, or sorting. ## Importing Files (Scan For New Files) -A common task is to *import* existing files to area(s). Consider a collection of retro BBS files in the area "Retro PC" (tag: `retro_pc` above) under the storage tag of `retro_pc_bbs`. You might choose to scan for new files in this area (and thus import new entries) as follows with `oputil.js`'s `fb scan`: +A common task is to *import* existing files to area(s). Consider a collection of retro BBS files in the area "Retro PC" (tag: `retro_pc` above) under the storage tag of `retro_pc_bbs`. You might choose to scan for new files in this area (and thus import new entries) as follows with [oputil](/docs/admin/oputil.md)'s `fb scan`: ```bash ./oputil.js fb scan --quick --tags retro,bbs,pc retro_pc@retro_pc_bbs ``` +Here we have asked [oputil](/docs/admin/oputil.md) to scan the file base area by it's tag `retro_pc` and only include the storage tag of `retro_pc_bbs`. Note that the storage tag could be omitted, and if so, all of `retro_pc` would be scanned. We have also indicated to #hashtag new entries with the tags "retro", "bbs", and "pc". + Please see [oputil](/docs/admin/oputil.md) for more information.