Moodle
  1. Moodle
  2. MDL-36008

Add bulk delete to Legacy Files in 2.3

    Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: 2.3.2, 2.5.2, 2.6
    • Fix Version/s: None
    • Component/s: Repositories
    • Labels:
      None
    • Affected Branches:
      MOODLE_23_STABLE, MOODLE_25_STABLE, MOODLE_26_STABLE
    • Rank:
      44768

      Description

      At present it is very time consuming to clean up unneeded files in Legacy Files. Often there are imports from 1.9 into 2.x that later need serious purging. Currently it is three clicks per file.

        Issue Links

          Activity

          Hide
          Derek Chirnside added a comment -

          Three clicks to delete a file. There is a related request to be able to bulk delete in Private files as well. http://tracker.moodle.org/browse/MDL-33671

          Show
          Derek Chirnside added a comment - Three clicks to delete a file. There is a related request to be able to bulk delete in Private files as well. http://tracker.moodle.org/browse/MDL-33671
          Hide
          Séverin Terrier added a comment -

          Definetly need this (and also bulk delete at other places) : just cleaned one course, and it's really a lot a wasted time...

          Three clicks per file/folder, plus time to delete and refresh page, when it's big files!

          Show
          Séverin Terrier added a comment - Definetly need this (and also bulk delete at other places) : just cleaned one course, and it's really a lot a wasted time... Three clicks per file/folder, plus time to delete and refresh page, when it's big files!
          Hide
          sean mcclelland added a comment -

          I work on a small team (currently 2 people) and we're migrating courses from Moodle 1.9 to Moodle 2 for everyone in our University that requests it... which is hundreds of courses (so far). The issue of deleting Legacy Course Files, one item at a time, is a huge problem for us. We simply don't have the man-hours to do it. I spent 40 mins today on just one course completing that task.

          A simple "select all / none" and a corresponding "actions" menu that provided a delete option would save us hundreds of hours of work!

          Show
          sean mcclelland added a comment - I work on a small team (currently 2 people) and we're migrating courses from Moodle 1.9 to Moodle 2 for everyone in our University that requests it... which is hundreds of courses (so far). The issue of deleting Legacy Course Files, one item at a time, is a huge problem for us. We simply don't have the man-hours to do it. I spent 40 mins today on just one course completing that task. A simple "select all / none" and a corresponding "actions" menu that provided a delete option would save us hundreds of hours of work!
          Hide
          Derek Chirnside added a comment -

          Sean: I know this is not the best place to post this.
          You may be able to do a migrate and =not= end up with Legacy files: http://docs.moodle.org/23/en/Legacy_course_files#Can_you_migrate_a_course_from_1.9_to_2.2B_and_NOT_end_up_with_a_legacy_files_repository.3F

          -Derek

          Show
          Derek Chirnside added a comment - Sean: I know this is not the best place to post this. You may be able to do a migrate and =not= end up with Legacy files: http://docs.moodle.org/23/en/Legacy_course_files#Can_you_migrate_a_course_from_1.9_to_2.2B_and_NOT_end_up_with_a_legacy_files_repository.3F -Derek
          Hide
          Derek Chirnside added a comment -

          I've been trying to get rid of Legacy files while under certain conditions the fix to MDL-25631 has been making sure they are unconditionally present.

          If we have this, where restoring a course with legacy files in it means you cannot stop them ending up in the restored course, then in my mind some sort of "legacy files" cleanup tool could be good.

          -Derek

          Show
          Derek Chirnside added a comment - I've been trying to get rid of Legacy files while under certain conditions the fix to MDL-25631 has been making sure they are unconditionally present. If we have this, where restoring a course with legacy files in it means you cannot stop them ending up in the restored course, then in my mind some sort of "legacy files" cleanup tool could be good. -Derek

            People

            • Votes:
              26 Vote for this issue
              Watchers:
              18 Start watching this issue

              Dates

              • Created:
                Updated: