* Note on FILEBONE.NA support

* Notes on importing in file area docs
This commit is contained in:
Bryan Ashby 2018-12-04 20:42:56 -07:00
parent dbc60e8746
commit 60369ea378
4 changed files with 7 additions and 1 deletions

View File

@ -711,6 +711,8 @@ function importFileAreas() {
// FILEGATE.ZXX "RAID" format currently the only supported format. // FILEGATE.ZXX "RAID" format currently the only supported format.
// //
// See http://www.filegate.net/info/filegate.zxx // See http://www.filegate.net/info/filegate.zxx
// ...same format as FILEBONE.NA:
// http://wiki.mysticbbs.com/doku.php?id=mutil_import_filebone_na
// //
const importPath = argv._[argv._.length - 1]; const importPath = argv._[argv._.length - 1];
if(argv._.length < 3 || !importPath || 0 === importPath.length) { if(argv._.length < 3 || !importPath || 0 === importPath.length) {
@ -718,7 +720,7 @@ function importFileAreas() {
} }
const importType = getFileBaseImportType(importPath); const importType = getFileBaseImportType(importPath);
if('zxx' !== importType) { if(!['zxx', 'na'].includes(importType)) {
return console.error(`"${importType}" is not a recognized import file type`); return console.error(`"${importType}" is not a recognized import file type`);
} }

View File

@ -83,6 +83,7 @@ remove args:
--phys-file also remove underlying physical file --phys-file also remove underlying physical file
import-areas args: import-areas args:
--type TYPE sets import areas type. valid options are "zxx" or "na"
--create-dirs create backing storage directories --create-dirs create backing storage directories
`, `,
FileOpsInfo : FileOpsInfo :

View File

@ -124,6 +124,7 @@ remove args:
--phys-file also remove underlying physical file --phys-file also remove underlying physical file
import-areas args: import-areas args:
--type TYPE sets import areas type. valid options are "zxx" or "na"
--create-dirs create backing storage directories --create-dirs create backing storage directories
general information: general information:

View File

@ -82,3 +82,5 @@ 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.