diff options
| -rwxr-xr-x | slcl-upload | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/slcl-upload b/slcl-upload index 964aaeb..4191fc5 100755 --- a/slcl-upload +++ b/slcl-upload @@ -83,7 +83,7 @@ upload_dir() { local SRC="$1" local DIR="$2" - local N=$(cd "$1" && ls | wc -l) + local N=$(cd "$1" && ls -A | wc -l) local I=1 test $N -eq 0 && return @@ -133,7 +133,7 @@ upload_dir() I=$(($I + 1)) done <<-EOF - $(cd "$1" && ls) + $(cd "$1" && ls -A) EOF LEVEL=$(($LEVEL - 1)) |
