main
Zynh Ludwig 2024-08-01 02:48:26 -07:00
parent 118f067b5f
commit 1132312215
1 changed files with 1 additions and 3 deletions

View File

@ -21,11 +21,9 @@ 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