Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
module:addfiles [2021/04/04 04:47] – [Add Files] Mention postfile.js digital man | module:addfiles [2023/03/05 14:14] – [Invoke] Updated help output digital man | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Add Files ====== | ====== Add Files ====== | ||
- | New for Synchronet v3.19, this JavaScript utility script replaces the functionality of the old ADDFILES program. | + | New for Synchronet v3.19, this JavaScript utility script replaces the functionality of the old [[util:ADDFILES]] program. |
This script can import files into one or more filebases either using input filename/ | This script can import files into one or more filebases either using input filename/ | ||
Line 8: | Line 8: | ||
===== Invoke ====== | ===== Invoke ====== | ||
Run with [[util: | Run with [[util: | ||
- | jsexec addfiles.js | + | jsexec addfiles |
< | < | ||
- | usage: [-options] [dir-code] [listfile] | + | usage: [-options] [dir-code] [listfile] [desc-off] |
options: | options: | ||
- | -all add files in all libraries/ | + | |
- | -lib=< | + | -lib=< |
- | -from=< | + | |
- | -ex=< | + | |
- | (default: FILES.BBS, | + | |
- | -diz always extract/use description in archive | + | |
- | -update | + | (default: FILES.BBS, |
- | -date[=fmt] | + | -diz always extract/use description in archive |
- | -fdate[=fmt] | + | -update |
- | -adate[=fmt] | + | -date[=fmt] |
- | (fmt = optional strftime date/time format string) | + | -fdate[=fmt] |
- | -v increase verbosity of output | + | -adate[=fmt] |
- | -debug | + | (fmt = optional strftime date/time format string) |
+ | | ||
+ | | ||
+ | -debug | ||
+ | optional: | ||
+ | dir-code: | ||
+ | listfile: | ||
+ | desc-off: | ||
</ | </ | ||