From b86e63ee61fc04caff2572cbd0660afc655ae121 Mon Sep 17 00:00:00 2001 From: qo-op Date: Wed, 3 Mar 2021 15:33:07 +0100 Subject: [PATCH] command line command --- README.md | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 65bf81655..8d5e0c545 100644 --- a/README.md +++ b/README.md @@ -149,15 +149,22 @@ L'essaim se restructure avec ```cron_MINUTE.sh``` pour se synchroniser et diffus ``` # Obtenir la liste de tous ses amis (gchange+) -cat ~/.zen/ipfs_swarm/.12*/G1SSB/_g1.gchange_title +cat ~/.zen/ipfs_swarm/.*/G1SSB/_g1.gchange_title -# Obtenir les PIN IPFS de votre essaim -for astrofile in $(ls ~/.zen/ipfs_swarm/.*/PIN/*/* |sort | uniq); do echo $astrofile; done +# Obtenir vos PIN IPFS +for ID in $( ls ~/.zen/ipfs/.${IPFSNODEID}/PIN/ | cut -d '/' -f 8); do ipfs ls $ID; done + +# Lister vos fichiers transférés dans Astroport/Kodi +cat ~/.zen/ipfs/.${IPFSNODEID}/astroport/kodi/vstream/*ASTRXBIAN + +# Lister les fichiers partagés par votre essaim d'amis +cat ~/.zen/ipfs_swarm/.*/astroport/kodi/vstream/*ASTRXBIAN | sort | uniq # CODE ASTROPORT beta ipfs ls /ipns/k51qzi5uqu5dgfc3m379rf9820vg20hjhnmo9letrkj2p177tq013ohn68xf2y + ``` # ANNEXES