sudo apt install zsh-autosuggestions zsh-syntax-highlighting zsh
#!/usr/bin/env bash | |
#***************************************************************************************************************** | |
# | |
# To pass in a directory of disks, use this as the 3rd parameter | |
# $(find /mnt -maxdepth 1 -type d ! -path /mnt ) | |
# | |
# For example: | |
# .monitorandmove.sh /mnt/plot1 /mnt/plot2 $(find /mnt/farms -maxdepth 1 -type d ! -path /mnt/farms ) | |
# |
:root{ | |
--text-primary:#000; | |
--bgPrimary:#fff; | |
--bgSecondary: #F9F9F9; | |
--pink: #0071bd; | |
--light-blue: #e6f7ff; | |
--border: #d9d9d9; | |
} |
#Requires -Version 5.1 | |
[cmdletbinding()] | |
param( | |
[string]$SourcePath = "", # Path to 7z zipped disc images to be converted | |
[string]$DestinationPath = "", # Path where you would like the CHD's to go. One folder per game. | |
[string]$WorkingPath = "", # Path where files will be extracting temporarily for CHD creation, use fast disk if possible. Will be created in the running path if undefined | |
[string]$CHDMANPath = "", # Path to the CHDMAN executable, will be downloaded if this isn't defined or isn't correct | |
[switch]$CleanWorkingPath = $false, # Switch to automatically clean (delete contents) the working path dir if it is non-empty | |
[switch]$DisableMultithreading = $false, # Option to disable multithreading logic, for low thread systems or if you don't want CHD conversion to take most of your CPU % | |
[switch]$WritePlaylistFiles = $false, # Write m3u files in the destination dir, for all CHDs present (not just new ones) |