Skip to content

Drush

file-share:list

Lists shares, newest first.

drush file-share:list
drush file-share:list --issuer=jordan

--issuer takes an account name or ID. The table shows each share's ID, title, issuer, number of files and recipients, and whether it is active, expired or revoked.

file-share:revoke

Give exactly one option.

drush file-share:revoke --share=12
drush file-share:revoke --recipient=jane@example.org
drush file-share:revoke --recipient=jordan
drush file-share:revoke --issuer=jordan
  • --share revokes one share.
  • --recipient removes an address, or an account by name or ID, from every share, together with everyone they invited, and ends their sign-ins. Domain patterns that admit the address stay.
  • --issuer revokes every share an account issued.

file-share:purge

drush file-share:purge

Deletes expired sign-in tokens, ended sessions and activity older than the retention period. Cron runs the same purge.