summaryrefslogtreecommitdiff
path: root/docs/administration/CLI_tasks/uploads.md
blob: 8585ec76bcebb3cf91813bc03d58447db31180cb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Managing uploads

{! backend/administration/CLI_tasks/general_cli_task_info.include !}

## Migrate uploads from local to remote storage
=== "OTP"

    ```sh
     ./bin/pleroma_ctl uploads migrate_local <target_uploader> [option ...]
    ```

=== "From Source"

    ```sh
    mix pleroma.uploads migrate_local <target_uploader> [option ...]
    ```

### Options
- `--delete` - delete local uploads after migrating them to the target uploader

A list of available uploaders can be seen in [Configuration Cheat Sheet](../../configuration/cheatsheet.md#pleromaupload)