aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorkaotisk <kaotisk@arching-kaos.org>2023-04-03 00:26:07 +0300
committerkaotisk <kaotisk@arching-kaos.org>2023-04-03 00:31:31 +0300
commit4f8fb0a8acd5eec0caaf1087d7ecf91f9166c807 (patch)
tree254b4c4785a4895375bd5a1009e7c1c658e5437e /bin
parent9606644a0beb4f2883e1e0f4c6c81b42ab40b3a1 (diff)
downloadarching-kaos-tools-4f8fb0a8acd5eec0caaf1087d7ecf91f9166c807.tar.gz
arching-kaos-tools-4f8fb0a8acd5eec0caaf1087d7ecf91f9166c807.tar.bz2
arching-kaos-tools-4f8fb0a8acd5eec0caaf1087d7ecf91f9166c807.zip
Clean up and adjustment
Diffstat (limited to 'bin')
-rw-r--r--bin/ak-file.c27
-rwxr-xr-xbin/ak-ipfs-add2
-rwxr-xr-xbin/ak-ipfs-block-stat2
-rwxr-xr-xbin/ak-ipfs-cat1
-rwxr-xr-xbin/ak-ipfs-files-cp2
-rwxr-xr-xbin/ak-ipfs-files-ls2
-rwxr-xr-xbin/ak-ipfs-files-mkdir2
-rwxr-xr-xbin/ak-ipfs-files-mv3
-rwxr-xr-xbin/ak-ipfs-files-rm2
-rwxr-xr-xbin/ak-ipfs-files-stat2
-rwxr-xr-xbin/ak-ipfs-get3
-rwxr-xr-xbin/ak-ipfs-key-list1
-rwxr-xr-xbin/ak-ipfs-name-publish2
-rwxr-xr-xbin/ak-ipfs-name-resolve2
-rwxr-xr-xbin/ak-ipfs-swarm-peers1
15 files changed, 16 insertions, 38 deletions
diff --git a/bin/ak-file.c b/bin/ak-file.c
deleted file mode 100644
index 3d2ae17..0000000
--- a/bin/ak-file.c
+++ /dev/null
@@ -1,27 +0,0 @@
-/*
- * =====================================================================================
- *
- * Filename: file.c
- *
- * Description:
- *
- * Version: 1.0
- * Created: 08/12/22 07:23:49
- * Revision: none
- * Compiler: gcc
- *
- * Author: Kaotisk Hund (kh), kaotisk@arching-kaos.org
- * Company: ArchingKaos.Com
- *
- * =====================================================================================
- */
-
-#include <stdio.h>
-
-int main(int argc, char **argv)
-{
- (void)argc;
- (void)argv;
- printf("printf used\n");
- return 0;
-}
diff --git a/bin/ak-ipfs-add b/bin/ak-ipfs-add
index 5887b24..c3f75f1 100755
--- a/bin/ak-ipfs-add
+++ b/bin/ak-ipfs-add
@@ -1,3 +1,3 @@
#!/bin/bash
+ipfs add -Qr "$1"
-ipfs add -Qr $1
diff --git a/bin/ak-ipfs-block-stat b/bin/ak-ipfs-block-stat
index 54b6b40..6668275 100755
--- a/bin/ak-ipfs-block-stat
+++ b/bin/ak-ipfs-block-stat
@@ -1,3 +1,3 @@
#!/bin/bash
-
ipfs block stat "$1"
+
diff --git a/bin/ak-ipfs-cat b/bin/ak-ipfs-cat
index 2c29458..e1e6491 100755
--- a/bin/ak-ipfs-cat
+++ b/bin/ak-ipfs-cat
@@ -1,2 +1,3 @@
#!/bin/bash
ipfs --timeout=10s cat $1
+
diff --git a/bin/ak-ipfs-files-cp b/bin/ak-ipfs-files-cp
index 70dd701..3e4dfbd 100755
--- a/bin/ak-ipfs-files-cp
+++ b/bin/ak-ipfs-files-cp
@@ -1,3 +1,3 @@
#!/bin/bash
-
ipfs files cp "$1" "$2"
+
diff --git a/bin/ak-ipfs-files-ls b/bin/ak-ipfs-files-ls
index 78a7002..1354f83 100755
--- a/bin/ak-ipfs-files-ls
+++ b/bin/ak-ipfs-files-ls
@@ -1,3 +1,3 @@
#!/bin/bash
-
ipfs files ls "$1"
+
diff --git a/bin/ak-ipfs-files-mkdir b/bin/ak-ipfs-files-mkdir
index a81ffe4..ab36f81 100755
--- a/bin/ak-ipfs-files-mkdir
+++ b/bin/ak-ipfs-files-mkdir
@@ -1,3 +1,3 @@
#!/bin/bash
-
ipfs files mkdir "$1"
+
diff --git a/bin/ak-ipfs-files-mv b/bin/ak-ipfs-files-mv
index e69de29..918674a 100755
--- a/bin/ak-ipfs-files-mv
+++ b/bin/ak-ipfs-files-mv
@@ -0,0 +1,3 @@
+#!/bin/bash
+ipfs files mv "$1" "$2"
+
diff --git a/bin/ak-ipfs-files-rm b/bin/ak-ipfs-files-rm
index 1c4d597..6ac570d 100755
--- a/bin/ak-ipfs-files-rm
+++ b/bin/ak-ipfs-files-rm
@@ -1,3 +1,3 @@
#!/bin/bash
-
ipfs files rm "$1"
+
diff --git a/bin/ak-ipfs-files-stat b/bin/ak-ipfs-files-stat
index 49e70e8..a378ed8 100755
--- a/bin/ak-ipfs-files-stat
+++ b/bin/ak-ipfs-files-stat
@@ -1,3 +1,3 @@
#!/bin/bash
-
ipfs files stat "$1"
+
diff --git a/bin/ak-ipfs-get b/bin/ak-ipfs-get
index 8eee9be..ad959ed 100755
--- a/bin/ak-ipfs-get
+++ b/bin/ak-ipfs-get
@@ -1,3 +1,2 @@
#!/bin/bash
-
-ipfs get $1
+ipfs --timeout=10s get "$1"
diff --git a/bin/ak-ipfs-key-list b/bin/ak-ipfs-key-list
index dd33848..7ebdb15 100755
--- a/bin/ak-ipfs-key-list
+++ b/bin/ak-ipfs-key-list
@@ -1 +1,2 @@
+#!/bin/bash
ipfs key list
diff --git a/bin/ak-ipfs-name-publish b/bin/ak-ipfs-name-publish
index 321ba89..d1e10cf 100755
--- a/bin/ak-ipfs-name-publish
+++ b/bin/ak-ipfs-name-publish
@@ -1,3 +1,3 @@
#!/bin/bash
+ipfs name publish "$1" "$2"
-ipfs name publish $1 $2
diff --git a/bin/ak-ipfs-name-resolve b/bin/ak-ipfs-name-resolve
index d27c57a..1f7ea93 100755
--- a/bin/ak-ipfs-name-resolve
+++ b/bin/ak-ipfs-name-resolve
@@ -1,3 +1,3 @@
#!/bin/bash
-
ipfs name resolve "$1"
+
diff --git a/bin/ak-ipfs-swarm-peers b/bin/ak-ipfs-swarm-peers
index 5d6e904..d906ec3 100755
--- a/bin/ak-ipfs-swarm-peers
+++ b/bin/ak-ipfs-swarm-peers
@@ -1 +1,2 @@
+#!/bin/bash
ipfs swarm peers