Skip to content

added missing cli file-usage info #963

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 25, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions docs/cli/built-in-commands/sync-file-usage.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# `sync:upload-directory`

This command updates old file format data to the modern format and synchronizes the file usage records in the database. File usage data for a given file in the file manager can be viewed in the [File Editor](control-panel/file-manager/file-edit.md). This functionality is also available through [Utilities - File Usage](control-panel/utilities/data-operations.md#update-file-usage-information).

## Example:

`php eecli.php sync:file-usage`
1 change: 1 addition & 0 deletions docs/cli/intro.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ By default the CLI is located `system/ee/eecli.php` .
- [migrate:rollback - Rolls back most recent migration group](cli/built-in-commands/migrate.md)
- Sync
- [sync:conditional-fields - Sync channel entry conditional logic](cli/built-in-commands/sync-conditional-fields.md)
- [sync:file-usage - Sync files usage](cli/built-in-commands/sync-file-usage.md)
- [sync:reindex - Sync content used in search indexes](cli/built-in-commands/sync-reindex.md)
- [sync:upload-directory - Sync files in an upload directory](cli/built-in-commands/sync-upload-directory.md)
- [Update ExpressionEngine](cli/built-in-commands/update.md)
Expand Down