this is a script to see the bash colors (paste it in terminal):
iter=16
while [ $iter -lt 52 ]
do
second=$[$iter+36]
third=$[$second+36]
four=$[$third+36]
#!/bin/bash | |
# https://gist.github.com/scrathe | |
# https://www.reddit.com/r/PleX/comments/vcc95i/database_repair_script_for_common_plex_db_errors/ | |
# what is this? performs the steps outlined in Plex's garbage instructions on how to "Manually Repair the Database" https://support.plex.tv/articles/repair-a-corrupted-database/ | |
# notes | |
# although this script will backup your Plex DB, i would suggest making your own backup. | |
# this script assumes you are comfortable with copying/pasting/running random things from the internet. |
#!/usr/bin/env bash | |
set -e | |
[[ -n $HYPRLAND_DEBUG_CONF ]] && exit 0 | |
USAGE="\ | |
Import environment variables | |
Usgae: $0 <command> | |
Commands: |