From a65482452b946d931bc1b7181681682e811cdac8 Mon Sep 17 00:00:00 2001 From: Penelope Gwen Date: Wed, 12 Feb 2025 18:45:02 -0800 Subject: [PATCH] New backup 2025-02-12 18:45:02 --- default/home/.sapphrc/default | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/default/home/.sapphrc/default b/default/home/.sapphrc/default index ef77935..d5d4d66 100755 --- a/default/home/.sapphrc/default +++ b/default/home/.sapphrc/default @@ -44,6 +44,14 @@ devpod(){ simplewebserver(){ screen python3 -m http.server } +filecount(){ + [[ -z ${1} ]] && fc_targetdir=$(pwd) || fc_targetdir="${1}" + find "${fc_targetdir}" -type f | wc -l +} +filecount-monitor(){ + [[ -z ${1} ]] && fc_targetdir=$(pwd) || fc_targetdir="${1}" + watch "find ${fc_targetdir} -type f | wc -l" +} #alias devbox-stable="TERM=xterm-256color toolbox enter debian-toolbox-12" #alias devbox-testing="TERM=xterm-256color toolbox enter debian-toolbox-testing" #git shortcut to quickly push all changes with comment