View searchMusic script
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 | |
musicDir=/home/ubuntu/projects/music/music-app | |
#Bash Aliases and Functions | |
alias importMusic="node $musicDir/App.js bulkImport" | |
alias syncMusic="$musicDir/jsontocsv > $musicDir/MUSIC.CSV && php $musicDir/update-musicsheet.php" | |
alias viewMusic="node $musicDir/App.js read" | |
alias trimLines="awk '!NF {if (++n <= 1) print; next}; {n=0;print}'" | |
makeSEDforDel() { cat $musicDir/music.fields | while IFS=, read field; do echo -n 'sed "/\"'$field'\": \"\"/d" |' ; done | sed s/.$//; } | |
makeSEDforLbl() { cat $musicDir/music.fields | while IFS=, read field; do echo -n 'sed "s/'$field'://g" |' ; done | sed s/.$//; } |
View .gitattributes
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
* text=auto | |
###### Git | |
.gitattributes text | |
.gitignore text | |
.gitconfig text | |
.gitmodules text | |
##### Windows | |
*.bat text eol=crlf |