print targets

This commit is contained in:
Zynh Ludwig 2024-08-01 02:38:58 -07:00
parent e669b42cef
commit 118f067b5f

View file

@ -21,9 +21,11 @@ in
repo=''${args[0]} repo=''${args[0]}
target=''${args[1]} target=''${args[1]}
echo "''$target"
if [ -d "$target" ]; then if [ -d "$target" ]; then
if "''$(${pkgs.findutils}/bin/find "''$target" -maxdepth 0 -empty)"; then if "''$(${pkgs.findutils}/bin/find "''$target" -maxdepth 0 -empty)"; then
echo "~ Found Files at ''$target ~" echo "~ Found Files at ''$target ~"
echo "~ Found Files ~"
else else
echo "~ No Files in ''$target ~" echo "~ No Files in ''$target ~"
fi fi