ref: e664c0ae05064c34a038519f8ab30489fb4940f6
parent: 12517607a5db367cf9a15474f1424759cef1683a
author: qwx <qwx@sciops.net>
date: Sat Nov 14 07:48:22 EST 2020
syncbv91: fix organization, ignore mtimes for sdcard
--- a/syncbv91
+++ b/syncbv91
@@ -5,14 +5,14 @@
exit ssh
}
cd
+# sd card mtimes are full of lies
for(i in m*){
- if(! test -d /n/ssh/$i){
- mkdir /n/ssh/storage/external-1/$i
- ssh tcp!bv91!8022 ln -s storage/external-1/$i $i
- clone -T $i/* /n/ssh/$i
- }
+ if(! test -d /n/ssh/m)
+ ssh tcp!bv91!8022 ln -s storage/external-1/m m || exit
+ if(! test -d /n/ssh/m/$i)
+ clone -T $i /n/ssh/m/
if not
- syncab $i /n/ssh/$i | tee -a /tmp/sync.$pid
+ syncab -m $i /n/ssh/m/$i | tee -a /tmp/sync.$pid
}
syncab /n/ssh/Pictures $home/lib/i | tee -a /tmp/sync.$pid
echo proceed?