This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Define the directory to search (you can change this to the desired directory) | |
DIR="/temp" | |
# Array of file extensions to delete | |
EXTENSIONS=("*.txt" "*.srt" "*.nzb" "*.sup" "*.ac3" "*.dts" "*.sample.*" "*.srr") | |
# Counters for deleted files and directories | |
deleted_files=0 | |
deleted_directories=0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: "3" | |
services: | |
uk1: | |
image: louislam/uptime-kuma:1 | |
container_name: uk1 | |
volumes: | |
- ./uk1-data:/app/data | |
ports: | |
- 3001:3001 # <Host Port>:<Container Port> |