new tmux stuff
This commit is contained in:
@@ -89,4 +89,36 @@ function strip-tags() {
|
||||
find . -type f -name '*.mp3' \
|
||||
| tr '\n' '\0' \
|
||||
| xargs -0 -n1 mid3v2 --delete-frames=TXXX,USLT,TIPL,UFID,APIC,TBPM,TCMP,TDOR,TDRC,TLAN,TMED,TPOS,TPUB,TRCK,TCON
|
||||
}
|
||||
|
||||
function dedi-beet() {
|
||||
ssh dedi -- sudo -u torrent-user beet $@
|
||||
}
|
||||
|
||||
function beet-comments() {
|
||||
dedi-beet modify "comments='$2'" "albumartist:'$1'"
|
||||
}
|
||||
|
||||
function rsync2() {
|
||||
#rsync -rzPh -u --no-W
|
||||
rsync \
|
||||
--info=PROGRESS2 \
|
||||
--progress \
|
||||
--recursive \
|
||||
--compress \
|
||||
--human-readable \
|
||||
--update \
|
||||
--inplace \
|
||||
--times \
|
||||
--no-whole-file \
|
||||
--itemize-changes \
|
||||
--stats \
|
||||
--fuzzy \
|
||||
--verbose \
|
||||
$@
|
||||
|
||||
}
|
||||
|
||||
function sync-music() {
|
||||
rsync2 --delete dedi:/home/torrent-user/music-library/ /Users/abra/music/library/
|
||||
}
|
Reference in New Issue
Block a user