openclassify/vendor/anomaly/files-module/docs/en/04.reference/05.cli-commands.md
Mostafa Moradi cd80f0352b initial
2022-03-09 12:57:37 +03:00

563 B

title
CLI Commands

CLI Commands

Files

Cleaning Files

The files:clean command removes file entries from the database that do not have a matching filesystem resource.

Use --force to apply deletions and skip the dry-run.

php artisan files:clear --force

files:sync

The files:sync command removes creates file entries for filesystem resources that do not exist in the database.

Use --force to apply updates and skip the dry-run.

php artisan files:sync --force