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
# ~/.bashrc: executed by bash(1) for non-login shells. | |
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc) | |
# for examples | |
# If not running interactively, don't do anything | |
case $- in | |
*i*) ;; | |
*) return;; | |
esac |
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
#!/usr/bin/env bash | |
# | |
# Some car head units have restrictions on the number of folders they can access, | |
# this scripts aims to reduce the number of folders taken by a music collection. | |
# Assumes the music collection is set up as Artist / Album | |
# This also ensures the folders and files don't exceed the maximum file size. | |
# My own head unit restrictions: 255 folders, folder/filename size: 63 chars | |
export MAX_FILE_SIZE=63 | |
export APPLY_CHANGES=false |
OlderNewer