diff options
author | Maksim Pechnikov <parallel588@gmail.com> | 2019-12-09 19:41:43 +0300 |
---|---|---|
committer | Maksim Pechnikov <parallel588@gmail.com> | 2019-12-09 19:41:43 +0300 |
commit | 2b821036c4bd84cee51c9fcace5a4b3764c3bba1 (patch) | |
tree | 811d75ef4b0442f3f2102d873fab4e10c777e7f1 /docs/administration/CLI_tasks/uploads.md | |
parent | 5876a9cb79e53f932d63e457610852031669a222 (diff) | |
parent | 0d2c13a119302d0d217a7cb61c28a01c620b1b61 (diff) | |
download | pleroma-2b821036c4bd84cee51c9fcace5a4b3764c3bba1.tar.gz |
Merge branch 'develop' into issue/1383
Diffstat (limited to 'docs/administration/CLI_tasks/uploads.md')
-rw-r--r-- | docs/administration/CLI_tasks/uploads.md | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/docs/administration/CLI_tasks/uploads.md b/docs/administration/CLI_tasks/uploads.md index 71800e341..e36c94c38 100644 --- a/docs/administration/CLI_tasks/uploads.md +++ b/docs/administration/CLI_tasks/uploads.md @@ -1,11 +1,16 @@ # Managing uploads -Every command should be ran with a prefix, in case of OTP releases it is `./bin/pleroma_ctl uploads` and in case of source installs it's `mix pleroma.uploads`. +{! backend/administration/CLI_tasks/general_cli_task_info.include !} ## Migrate uploads from local to remote storage -```sh -$PREFIX migrate_local <target_uploader> [<options>] +```sh tab="OTP" + ./bin/pleroma_ctl uploads migrate_local <target_uploader> [<options>] ``` + +```sh tab="From Source" +mix pleroma.uploads migrate_local <target_uploader> [<options>] +``` + ### Options - `--delete` - delete local uploads after migrating them to the target uploader |