Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| module:addfiles [2023/03/05 14:18] – [Examples] Add example that includes dir-code, listfile, and desc-off. 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, |
| - | -ex=< | + | -diz |
| - | (default: FILES.BBS, | + | -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: | + | optional |
| - | | + | |
| - | | + | |
| - | desc-off: Description character offset (number) | + | |
| </ | </ | ||
| - | |||
| - | If no options or directories are specified, the sysop will be prompted for a directory to add files to. | ||
| ==== Examples ==== | ==== Examples ==== | ||
| Line 50: | Line 56: | ||
| * To add files/ | * To add files/ | ||
| jsexec addfiles graphics FILES.BBS 40 | jsexec addfiles graphics FILES.BBS 40 | ||
| + | | ||
| + | * To add files to a specific directory (// | ||
| + | jsexec addfiles graphics -diz | ||
| ===== See Also ===== | ===== See Also ===== | ||
| * [[: | * [[: | ||