diff options
Diffstat (limited to 'bin/ak-fs')
| -rwxr-xr-x | bin/ak-fs | 13 |
1 files changed, 8 insertions, 5 deletions
@@ -27,6 +27,7 @@ ## --get, --export <roothash> <output file> Exports a file from the AKFS system ## --cat <roothash> Concatenates from given hash ## --list Lists names and roots available +## --llist Lists names available and their dates ## --net-cat-from-map <maphash> Concatenates from map via the network ## --net-get-from-map <maphash> Downloads from map via the network ## --cfm <maphash> Concatenates from map @@ -36,9 +37,10 @@ fullprogrampath="$(realpath $0)" PROGRAM=$(basename $0) descriptionString="AKFS tools" -source $AK_LIBDIR/_ak_log -source $AK_LIBDIR/_ak_script -source $AK_LIBDIR/_ak_fs +source $AK_LIBDIR/_ak_lib_load +_ak_lib_load _ak_log +_ak_lib_load _ak_script +_ak_lib_load _ak_fs if [ ! -z $1 ] then @@ -52,12 +54,13 @@ then --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;; + --llist) _ak_fs_long_list; exit;; --cfm) _ak_fs_cat_from_map_hash $2; exit;; --gfm) _ak_fs_get_from_map_hash $2; exit;; --rhd) _ak_fs_return_hash_dir $2; echo ;exit;; --rhp) _ak_fs_return_hash_path $2; echo ; exit;; - * ) _ak_usage;; + * ) _ak_usage err;; esac else - _ak_usage + _ak_usage err fi |
