shell: split exports, reorg them. add x-dc script

This commit is contained in:
2023-04-08 03:38:09 +03:00
parent dbadcc3b6c
commit 5ce9906ff1
7 changed files with 418 additions and 124 deletions

11
local/bin/x-dc Executable file
View File

@@ -0,0 +1,11 @@
#!/usr/bin/env bash
# Verify folder exists, and if it does not, create it.
dir="$1"
[ $# -eq 0 ] && { echo "Usage: $0 full/path/to/dir/to/create"; exit 1; }
if [ ! -d "$dir" ]; then
mkdir -p "$dir" && exit 0;
fi