No description
Find a file
2024-05-14 23:29:00 +02:00
flac2opus_collection.bash Fix converting an existing collection 2024-05-14 23:29:00 +02:00
README.md Add README entry for zypper_autoremove.bash 2024-05-03 21:45:56 +02:00
zypper_autoremove.bash Disable redundant shellcheck warning 2024-05-14 10:58:26 +02:00

scripts

This repository contains some of my scripts. Feel free to use, modify or share as you wish. Quality of the script and or code might or might not be questionable. I am not responsible for any accidental rimraffing of your home or any other directories nor for any other damage.

Index

flac2opus_collection.bash

This script converts a copy of a directory containing .flac files and converts them all to opus. The source folder remains unmodified and the whole directory structure, including non-flac files, will be simply copied over to the output directory. This serves the purpose of being able to compress your whole lossless library to copy over to devices which are storage limited and or unable to playback the lossless files at a quality where they are distinguishable from the compressed files.

Overview of arguments

arguments:
    in      [input directory]   (required)  <The flac directory> {default: none}
    out     [output directory]  (required)  <The opus directory> {default: none}
    verify  [on/off]            (optional)  <Check converted files for corruption> {default: on}
    vbr     [on/off]            (optional)  <Toggle variable bit rate> {default: on}
    bitrate [{bitrate}k]        (optional)  <Set the bitrate to be passed to ffmpeg> {default: 128k}

zypper_autoremove.bash

This script replicates the behaviour of apt autoremove or emerge --depclean by filtering all unneeded packages and passing them to zypper rm -u to remove all of them. You will be prompted to verify the packages to be removed by zypper.

Overview of arguments

This script takes no arguments.