From 32fdc51a45b4a143211a66f8fedc0b8a39382d60 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Fri, 16 Oct 2020 15:24:25 +0000 Subject: [PATCH] Renamed to ipfs-server and ipfs-publish --- Scripts/{ipfs_publish => ipfs-publish} | 10 +++++++--- Scripts/{ipfs_server => ipfs-server} | 6 ++++++ 2 files changed, 13 insertions(+), 3 deletions(-) rename Scripts/{ipfs_publish => ipfs-publish} (71%) rename Scripts/{ipfs_server => ipfs-server} (75%) diff --git a/Scripts/ipfs_publish b/Scripts/ipfs-publish similarity index 71% rename from Scripts/ipfs_publish rename to Scripts/ipfs-publish index 51f5f9a9..ba95d572 100755 --- a/Scripts/ipfs_publish +++ b/Scripts/ipfs-publish @@ -1,7 +1,11 @@ #!/bin/sh -# -# Usage: ipfs_publish -# NOTE: requires and ! + +# Syntax: ./ipfs-publish +# Description: publishes the given directory tree to IPDS +# Author: Markus Fleschutz +# Source: github.com/fleschutz/PowerShell +# License: CC0 +# NOTE: requires and DIR=$1 IPFS_HASHES="IPFS_hash_list.txt" diff --git a/Scripts/ipfs_server b/Scripts/ipfs-server similarity index 75% rename from Scripts/ipfs_server rename to Scripts/ipfs-server index 6587035f..faed9151 100755 --- a/Scripts/ipfs_server +++ b/Scripts/ipfs-server @@ -1,5 +1,11 @@ #!/bin/sh +# Syntax: ./ipfs-server +# Description: starts an IPFS server +# Author: Markus Fleschutz +# Source: github.com/fleschutz/PowerShell +# License: CC0 + ipfs init --profile server ipfs config Addresses.API /ip4/0.0.0.0/tcp/5001