Skip to content

Files

Latest commit

2888c48 · Sep 1, 2020

History

History

bin

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Jun 22, 2020
Sep 1, 2020
Jun 22, 2020
Jun 6, 2020
Jun 6, 2020
Jun 6, 2020
Jun 6, 2020
Jul 23, 2020
Jun 6, 2020
Jun 6, 2020
Jun 6, 2020
Jun 6, 2020
Jun 6, 2020
Jun 6, 2020
Jun 6, 2020
Jun 6, 2020
Jun 6, 2020
Jun 6, 2020
Aug 13, 2020
Jun 6, 2020
Jun 6, 2020
These are various utilities for ZendTo, some of which are for
maintaining the local SQL-based authentication table of users and passwords.

*Also* - Run the "upgrade" command to automatically upgrade your
preferences.php and zendto.conf files, archiving the old and the
supplied ones.

You can get the usage details of each script by just running it with no
parameters on the command-line.

adduser         - Add a new user to the table
deleteuser      - Remove a user from the table
listusers       - List the details of the users (except their passwords)
                  Run with "--help" to describe the output format
setpassword     - Change the password for a user
unlockuser      - Unlock a user who has had too many failed logins

addlanguage     - Add a new language and its directories within ZendTo.
makelanguages   - Rebuild and recompile the language translations.
                  This is needed after any change to any zendto.po files.

extractdropoff  - Given a claim ID, extract all the files from it to the
                  current directory. Will prompt for passphrase if needed.

These are for automating ZendTo. See https://zend.to/automation for more
information and examples:
autodropoff     - Create a new drop-off from the command-line.
autolist        - List metadata about all drop-offs.
autopickup      - Download one or all of the files from a drop-off.
autorequest     - Send a request for a drop-off.

To save you having to put the full location of the ZendTo preferences.php
file in every command, you can set the shell environment variable
ZENDTOPREFS instead, like this for example:
    export ZENDTOPREFS=/opt/zendto/config/preferences.php
Then the commands will automatically find the preferences.php file.