Open joehand opened 7 years ago
I am trying to sync many dat files to a hypercored instance. I listed hashes I care about in its feeds file, but now I have to run dat sync for as long that the dat file gets synced there. But the issue is that I would like to automatize this process. Ideally, it would sync only for one peer and after that peer would get the whole dat, it would exit. So that I can then do this for the next dat repo. @mitar
This would be great:
dat push --to example.com:3200 \
--to 172.20.9.30:451 && \
echo "Dat pushed successfully and quit."
This would facilitate integration with the deployment process in static-site generators too.
Yeah, in order to get this, I think we'd need the following:
to
@joehand You mentioned before that the Dat CLI did something similar already. Would you mind giving a summary of how that works?
We could put this in as an extension probably...
From @joehand on January 4, 2017 16:32
Show remote progress bars when connected to peers.
We could start this as a basic
dat push
that runs until all peers are updated, then exits.Copied from original issue: joehand/dat-next#62