Skip to the content
Documentation
Help Start
Reading in:
  • German: 9,059 of 9,059 pages
About the help in other languages
All help pages

exp:dfscleanup

Check database and DFS files against each other (-S, -B) and delete nonexistent ones (-D).

Download as PDF

Address: https://doc.exponential.earth/exphelp/viewer/examples/commands/dfscleanup.md

On this page

exp:dfscleanup

Check database and DFS files against each other (-S, -B) and delete nonexistent ones (-D).

Script bin/php/dfscleanup.php, code in kernel/private/classes/commands/dfscleanup.php. Run it from the installation root, as the user the web server runs as:

./console exp:dfscleanup --help
php bin/php/dfscleanup.php --help

Help text

Script for checking database and DFS file consistency

Options

OptionValueHelp
-SCheck files on DFS share against files in the database
-BChecks files in database against files on DFS share
-DDelete nonexistent files
--pathrequiredPath to limit checks to (e.g.: var/storage/content - Default: var/)
--iteration-limitrequiredAmount of items to remove in each iteration when performing a purge operation. Default is all in one iteration.

Read from the option definitions in the code (startup(), getOptions(), options() or ezcConsoleOption). Every script also takes the standard options of the script framework (--help, --siteaccess, --debug, --quiet, --allow-root-user ...).


Generated by ./console exp:help:examples from bin/php/dfscleanup.php, kernel/private/classes/commands/dfscleanup.php. Do not edit this page: change the source and generate again (how). Free documentation: GFDL 1.3 or later.

Something wrong on this page? Report an error

Documentation license

This documentation is free documentation, licensed under the GNU Free Documentation License 1.3 or later.

Exponential Copyright © 1998-2026 Exponential Foundation and 7x