Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| module:addfiles [2024/12/04 23:28] – [Examples] Add another example usage 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] [desc-off] | + | usage: [dir-spec] [-options] [listfile] [desc-off] |
| + | |||
| + | 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 that have Auto-ADDFILES enabled |
| - | -lib=< | + | -from=< |
| - | -auto | + | -file=< |
| - | -from=< | + | -ex=< |
| - | -file=< | + | (default: FILES.BBS,DESCRIPT.ION,00_INDEX.TXT, |
| - | -ex=< | + | -diz |
| - | (default: FILES.BBS,FILE_ID.DIZ,DESCRIPT.ION, | + | -update |
| - | -diz | + | -readd |
| - | -update | + | -date[=fmt] |
| - | -date[=fmt] | + | -fdate[=fmt] |
| - | -fdate[=fmt] | + | -adate[=fmt] |
| - | -adate[=fmt] | + | (fmt = optional strftime date/time format string) |
| - | (fmt = optional strftime date/time format string) | + | -delete |
| - | -delete | + | -v |
| - | -v | + | -debug |
| - | -debug | + | |
| - | optional: | + | |
| - | dir-code: | + | |
| - | listfile: | + | |
| - | desc-off: | + | |
| - | </ | + | |
| - | If no options or directories are specified, the sysop will be prompted for a directory to add files to. | + | optional listfile parameters: |
| + | | ||
| + | | ||
| + | </ | ||
| - | **Note**:\\ | ||
| - | The '' | ||
| ==== Examples ==== | ==== Examples ==== | ||
| Line 54: | Line 58: | ||
| | | ||
| * To add files to a specific directory (// | * To add files to a specific directory (// | ||
| - | jsexec addfiles -diz graphics | + | jsexec addfiles |
| ===== See Also ===== | ===== See Also ===== | ||
| * [[: | * [[: | ||