kitzberger/cli-toolbox

TYPO3 CLI toolbox

Installs: 110

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 2

Forks: 0

Type:typo3-cms-extension

1.0.2 2019-04-24 08:12 UTC

This package is auto-updated.

Last update: 2023-05-24 17:17:01 UTC


README

Recursive delete

(!) Use with caution and backup!

typo3/cli_dispatch.phpsh extbase cleanup:delete --pid=123 [--dry-run] [--memory-limit=512M]

Copy/move records

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

# Copy tt_content:123 to page:234
typo3/cli_dispatch.phpsh extbase tcemain:copy --be-user=1 --uid=123 --pid=234 --table=tt_content [--dry-run] [--memory-limit=512M]

# Copy tt_content:123 right behind tt_content:-234
typo3/cli_dispatch.phpsh extbase tcemain:copy --be-user=1 --uid=123 --pid=-234 --table=tt_content [--dry-run] [--memory-limit=512M]

# Move tt_content:123 to page:234
typo3/cli_dispatch.phpsh extbase tcemain:move --be-user=1 --uid=123 --pid=234 --table=tt_content [--dry-run] [--memory-limit=512M]