Add remove_remote_user_preview_images command
This commit is contained in:
parent
8c34b23c35
commit
09c095cfec
3 changed files with 66 additions and 0 deletions
4
bw-dev
4
bw-dev
|
@ -223,6 +223,9 @@ case "$CMD" in
|
|||
generate_preview_images)
|
||||
runweb python manage.py generate_preview_images "$@"
|
||||
;;
|
||||
remove_remote_user_preview_images)
|
||||
runweb python manage.py remove_remote_user_preview_images
|
||||
;;
|
||||
copy_media_to_s3)
|
||||
awscommand "bookwyrm_media_volume:/images"\
|
||||
"s3 cp /images s3://${AWS_STORAGE_BUCKET_NAME}/images\
|
||||
|
@ -300,6 +303,7 @@ case "$CMD" in
|
|||
echo " populate_suggestions"
|
||||
echo " generate_thumbnails"
|
||||
echo " generate_preview_images [--all]"
|
||||
echo " remove_remote_user_preview_images"
|
||||
echo " copy_media_to_s3"
|
||||
echo " sync_media_to_s3"
|
||||
echo " set_cors_to_s3 [cors file]"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue