[sync_encode_sync] for tty allocation to stop annoying error

This commit is contained in:
LuKe Tidd 2023-11-18 16:56:15 -05:00
parent 5c73a8523f
commit b55a449a3c
Signed by: luke
GPG Key ID: 75D6600BEF4E8E8F

View File

@ -1,7 +1,7 @@
#!/bin/bash #!/bin/bash
rsync -a --progress --delete /data/music/flac/ thrakkorzog:/home/luket/flac rsync -a --progress --delete /data/music/flac/ thrakkorzog:/home/luket/flac
ssh thrakkorzog 'cd /home/luket/git/library_works && ./encode_all' ssh -tt thrakkorzog 'cd /home/luket/git/library_works && ./encode_all'
if [[ "$?" == 0 ]]; then if [[ "$?" == 0 ]]; then
rsync -a --progress --delete thrakkorzog:/home/luket/opus/ /data/music/opus rsync -a --progress --delete thrakkorzog:/home/luket/opus/ /data/music/opus
else else