gonzopi

git clone https://git.tarina.org/gonzopi
Log | Files | Refs | README | LICENSE

commit 9e3c9c19c83cb867ec5a9b1d002add9208d1fa04
parent d58c9d26f5f16d3fb7b7efcd444dcb6a9ba42d62
Author: rbckman <rob@tarina.org>
Date:   Tue, 14 Jan 2025 19:28:15 +0000

ohyes

Diffstat:
Mgonzopi.py | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gonzopi.py b/gonzopi.py @@ -991,7 +991,7 @@ def main(): run_command('ssh-keygen') run_command('ssh-copy-id pi@'+ip) try: - run_command('rsync -avr --update --progress --files-from='+filmfolder+filmname+'/scene'+str(scene).zfill(3)+'/.origin_videos --no-relative / pi@'+ip+':'+syncfolder+'.videos/') + run_command('rsync -avr --update --progress --files-from='+filmfolder+filmname+'/scene'+str(scene).zfill(3)+'/.origin_videos --no-relative / pi@'+ip+':'+syncfolder+'.videos/ &') except: logger.info('no origin videos') #run_command('scp -r '+filmfolder+filmname+'/'+'scene'+str(scene).zfill(3)+' pi@'+ip+':'+filmfolder+filmname+'/') @@ -1008,7 +1008,7 @@ def main(): logger.info('SYNCING from ip:'+ip) run_command('ssh-copy-id pi@'+ip) try: - run_command('rsync -avr --update --progress pi@'+ip+':'+syncfolder+filmname+'/scene'+str(scene).zfill(3)+'/ '+filmfolder+filmname+'/scene'+str(scene).zfill(3)+'/') + run_command('rsync -avr --update --progress pi@'+ip+':'+syncfolder+filmname+'/scene'+str(scene).zfill(3)+'/ '+filmfolder+filmname+'/scene'+str(scene).zfill(3)+'/ &') except: logger.info('no files') with open(filmfolder+filmname+'/scene'+str(scene).zfill(3)+'/.origin_videos', 'r') as f: