diff --git a/source/agent-remote/common.sh b/source/agent-remote/common.sh index 554d7db..7d31770 100755 --- a/source/agent-remote/common.sh +++ b/source/agent-remote/common.sh @@ -168,6 +168,5 @@ _root_remove_tree() { docker run --rm -v "$abs_parent":/data alpine rm -rf "/data/$child" } - # Load autocommands -source "${AGENT_PATH}/datacommands.sh" \ No newline at end of file +source "${AGENT_PATH}/datacommands_v2.sh" \ No newline at end of file diff --git a/source/agent-remote/datacommands_v2.sh b/source/agent-remote/datacommands_v2.sh new file mode 100644 index 0000000..1c2db64 --- /dev/null +++ b/source/agent-remote/datacommands_v2.sh @@ -0,0 +1,428 @@ +#!/bin/bash + +# Refactored data commands with type-specific functions and standardized labels +# Format: _