* Note on FILEBONE.NA support
* Notes on importing in file area docs
This commit is contained in:
parent
dbc60e8746
commit
60369ea378
|
@ -711,6 +711,8 @@ function importFileAreas() {
|
|||
// FILEGATE.ZXX "RAID" format currently the only supported format.
|
||||
//
|
||||
// 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];
|
||||
if(argv._.length < 3 || !importPath || 0 === importPath.length) {
|
||||
|
@ -718,7 +720,7 @@ function importFileAreas() {
|
|||
}
|
||||
|
||||
const importType = getFileBaseImportType(importPath);
|
||||
if('zxx' !== importType) {
|
||||
if(!['zxx', 'na'].includes(importType)) {
|
||||
return console.error(`"${importType}" is not a recognized import file type`);
|
||||
}
|
||||
|
||||
|
|
|
@ -83,6 +83,7 @@ remove args:
|
|||
--phys-file also remove underlying physical file
|
||||
|
||||
import-areas args:
|
||||
--type TYPE sets import areas type. valid options are "zxx" or "na"
|
||||
--create-dirs create backing storage directories
|
||||
`,
|
||||
FileOpsInfo :
|
||||
|
|
|
@ -124,6 +124,7 @@ remove args:
|
|||
--phys-file also remove underlying physical file
|
||||
|
||||
import-areas args:
|
||||
--type TYPE sets import areas type. valid options are "zxx" or "na"
|
||||
--create-dirs create backing storage directories
|
||||
|
||||
general information:
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue