Skip to content

Commit

Permalink
Protect same-name files during og*2og*
Browse files Browse the repository at this point in the history
  • Loading branch information
MilesBHuff committed Jul 5, 2024
1 parent b162ab3 commit d7ad141
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Linux/home/miles/.aliasrc
Original file line number Diff line number Diff line change
Expand Up @@ -200,8 +200,8 @@ alias 'gpg-send'='gpg2 --send-keys'
[[ -f /usr/bin/udevinfo ]] && [[ ! -f /usr/bin/udevadm ]] && alias 'udevadm'='udevinfo'

## Audio manipulation
alias 'merge-oga'='sox -m *.oga $(basename "$PWD").oga norm -1' #TODO: Generalize for other file extensions
alias 'merge-ogg'='sox -m *.ogg $(basename "$PWD").ogg norm -1' #TODO: Generalize for other file extensions
alias 'merge-oga'='sox -m -n *.oga $(basename "$PWD").oga norm -1' #TODO: Generalize for other file extensions
alias 'merge-ogg'='sox -m -n *.ogg $(basename "$PWD").ogg norm -1' #TODO: Generalize for other file extensions
alias 'normalize'='sox norm -1'
alias 'oga2ogg'='find . -maxdepth 1 -name "*.oga" -exec bash -c '\''mv "$0" "${0%.oga}.ogg"'\'' {} \;'
alias 'ogg2oga'='find . -maxdepth 1 -name "*.ogg" -exec bash -c '\''mv "$0" "${0%.ogg}.oga"'\'' {} \;'
Expand Down

0 comments on commit d7ad141

Please sign in to comment.