8000 Create command to remove unused media files of opps-multimedias · Issue #409 · opps/opps · GitHub
[go: up one dir, main page]

Skip to content

Create command to remove unused media files of opps-multimedias #409

Open

Description

@ervilis

Currently all the media files sent to the "opps-multimedias" will stay on the server forever if not removed manually. This can cause disk space problems, especially for those who uploads videos media which are usually large files.

I believe we can solve this problem creating a django command that takes all 'MediaHost' that have already been processed and remove the source file.

We can create a task of celery to do this periodically if a parameter that enable this functionality is enabled.

Activity

  1. avelino commented on Dec 10, 2014

    @avelino
    Contributor

    On this command, we can create the opps.archives which is the core of archives of CMS Opps. All applications that extends opps.archives wins this functionality.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0