kitzberger/cli-toolbox

TYPO3 CLI toolbox

Installs: 789

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 3

Forks: 0

Type:typo3-cms-extension

3.0.2 2024-08-20 09:45 UTC

This package is auto-updated.

Last update: 2024-12-20 10:29:56 UTC


README

Pagetree

Determine uids of all children in the pagetree of a given root uid:

bin/typo3 toolbox:tree 123 [--table=pages] [--depth=10] [--separator=,] [--languages=0]

A site identifier can be used instead of the root uid:

bin/typo3 toolbox:tree my-site-identifier

Categorytree

Determine uids of all children in the categorytree of a given root uid:

bin/typo3 toolbox:tree 321 --table=sys_category

Recursive delete

(!) Use with caution and backup!

bin/typo3 toolbox:delete --pid=123 [--memory-limit=512M]

Copy/move records

See TYPO3 datahandler for details on behaviour of positive/negative --target parameter

# Copy tt_content:123 to page:234
bin/typo3 toolbox:copy --table=tt_content --source=123 --target=234 [--be-user=1] [--memory-limit=512M]

# Copy tt_content:123 right behind tt_content:-234
bin/typo3 toolbox:copy --table=tt_content --source=123 --target=-234

# Move pages:123 to page:234
bin/typo3 toolbox:move --source=123 --target=234