From f2840ea42b494b2375a28b40f8d1c853b4878e18 Mon Sep 17 00:00:00 2001 From: kaotisk Date: Fri, 20 Dec 2024 17:17:51 +0200 Subject: Fixes and new flags, see ak-fs --help --- bin/ak-fs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'bin/ak-fs') diff --git a/bin/ak-fs b/bin/ak-fs index 74aedfa..800a9bb 100755 --- a/bin/ak-fs +++ b/bin/ak-fs @@ -28,6 +28,8 @@ ## --cat Concatenates from given hash ## --list Lists names and roots available ## --net-cat-from-map Concatenates from map via the network +## --cfm Concatenates from map +## --gfm Get file from map ## fullprogrampath="$(realpath $0)" PROGRAM=$(basename $0) @@ -42,13 +44,15 @@ then case $1 in -h | --help) _ak_usage; exit;; --add|--import) _ak_fs_import $2; exit;; - --get|--export) _ak_fs_export $2 $3; exit;; + --get|--export) shift; _ak_fs_export $1 $2; exit;; --cat) _ak_fs_cat $2; exit;; --net-cat) _ak_fs_net_cat $2; exit;; --net-get) _ak_fs_net_get $2; exit;; --net-cat-from-map) _ak_fs_net_cat_from_map_hash $2; exit;; --net-get-from-map) _ak_fs_net_get_from_map_hash $2; exit;; --list) _ak_fs_list; exit;; + --cfm) _ak_fs_cat_from_map_hash $2; exit;; + --gfm) _ak_fs_get_from_map_hash $2; exit;; * ) _ak_usage;; esac else -- cgit v1.2.3