Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
module:addfiles [2021/04/18 18:38] – [Invoke] use -help in example digital man | module:addfiles [2024/12/05 01:11] (current) – Update the help output to match current script digital man | ||
---|---|---|---|
Line 11: | Line 11: | ||
< | < | ||
- | usage: [-options] [dir-code] [listfile] | + | usage: [dir-spec] [-options] [listfile] |
+ | |||
+ | dir-spec: | ||
+ | -all Add files in all directories of all libraries (implies -auto) | ||
+ | -lib=< | ||
+ | -dir=< | ||
+ | | ||
+ | * indicates parameters that can be combined and/or specified multiple times | ||
+ | Note: If no directories are specified, one will be prompted for. | ||
options: | options: | ||
- | | + | -auto Add files only to directories |
- | -lib=< | + | -from=< |
- | -from=< | + | -file=< |
- | -ex=< | + | -ex=< |
- | (default: FILES.BBS, | + | (default: FILES.BBS, |
- | -diz | + | -diz |
- | -update | + | -update |
- | -date[=fmt] | + | -readd |
- | -fdate[=fmt] | + | -date[=fmt] |
- | -adate[=fmt] | + | -fdate[=fmt] |
- | (fmt = optional strftime date/time format string) | + | -adate[=fmt] |
- | -delete | + | (fmt = optional strftime date/time format string) |
- | -v | + | -delete |
- | -debug | + | -v |
+ | -debug | ||
+ | |||
+ | optional listfile parameters: | ||
+ | | ||
+ | | ||
</ | </ | ||
- | |||
- | If no options or directories are specified, the sysop will be prompted for a directory to add files to. | ||
==== Examples ==== | ==== Examples ==== | ||
Line 42: | Line 54: | ||
jsexec addfiles -lib=main FILES.BBS | jsexec addfiles -lib=main FILES.BBS | ||
| | ||
+ | * To add files/ | ||
+ | jsexec addfiles graphics FILES.BBS 40 | ||
+ | |||
+ | * To add files to a specific directory (// | ||
+ | jsexec addfiles graphics -diz | ||
===== See Also ===== | ===== See Also ===== | ||
* [[: | * [[: |