Sign inSign up

flexibletoast/tvcleanup

By flexibletoast

•Updated over 1 year ago

Image
0

3.9K

flexibletoast/tvcleanup repository overview

⁠TV Cleanup

This is a container that has one job, cleanup a TV directory. This works by simply deleting any file over a X days old of show Y. It parses a simple config file formated as X,Y.

X,Y
14,Some Show

GitHub - FlexibleToast/tvcleanup⁠

⁠Usage

Run this container using docker

docker run -d --name tvcleanup \
    -e PUID=1000
    -e PGID=1000
    -e TZ=Europe/London
    -v /path/to/config:/config \
    -v /path/to/tv_shows:/tv \
    flexibletoast/tvcleanup:latest

Run using docker-compose

---
version: "3.0"
services:
  tvcleanup:
    image: flexibletoast/tvcleanup
    container_name: tvcleanup
    environment:
      TZ: Europe/London
      PUID: 1000
      PGID: 1000
    volumes:
      - /path/to/config:/config
      - /path/to/tv_shows:/tv

⁠Parameters

ParameterFunction
-e TZ=Europe/LondonSpecify a timezone to use
-e PUID=1000Specify a user ID
-e PGID=1000Specify a group ID
-v /configtvclean.conf is stored here
-v /tvLocation of TV library

Tag summary

Content type

Image

Digest

sha256:27f6f213c…

Size

45.6 MB

Last updated

over 1 year ago

docker pull flexibletoast/tvcleanup