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 | |
################################################################# | |
# mkm3u.sh - Bare-bones m3u generator | |
# Usage: | |
# ./mkm3u.sh | |
# Setup: | |
# 1. Supply INPATHS. Paths which are relative | |
# to this script will result in relative paths in the m3u | |
# 2. (Optional) Edit file extensions "mp3|flac|xm|s3m|mod|it" | |
################################################################# |
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
############################################################### | |
# This comes in handy when you have a copy of a git repository | |
# without the .git metadata directory included, | |
# for instance a .zip export from Bitbucket. | |
# For use in a shell script. | |
############################################################### | |
if [ ! -d '.git' ]; then | |
git init . |
NewerOlder