Skip to content

Files & Directories

terrelsa13 edited this page May 13, 2024 · 5 revisions

mumc.py

/opt/MUMC/mumc.py contains the main function MUMC(). This is the file used to run the script.

mumc_config.yaml

/opt/MUMC/mumc_config.yaml is the configuration file. This file does not exist until after the first time the script is run. During the first run there will be prompts looking for input that needs to be entered. These inputs allow the script to build the configuration file. Once this file is created you can edit the basic_settings and advanced_settings sections of the configuration file to tell MUMC how to delete the media items you want it to delete and keep the media items you want to keep.

mumc_config.py (Legacy/Obsolete)

/opt/MUMC/mumc_config.py When running MUMC v5 for the first time, the script will look for the legacy mumc_config.py (or the config specified with the -c option) and attempt to convert it to the new mumc_config.yaml format. The automatic conversion will only work for mumc_config.py configurations made with recent releases of MUMC v4.

mumc_modules/

/opt/MUMC/mumc_modules/ is a directory with all of the Python modules needed for mumc.py to execute.

mumc_DEBUG.log

/opt/MUMC/mumc_DEBUG.log only exists when DEBUG is enabled. Each time the script is run in DEBUG the previous version of /opt/MUMC/mumc_DEBUG.log is deleted and a new one is made in its place.

requirements.txt

/opt/MUMC/requirements.txt is a file used to make installing Python dependencies easier for you; the end user.

Docker

/opt/MUMC/docker/ is a directory with the Dockerfile and Docker requirements.txt.

Clone this wiki locally