putwww: escape spaces
This commit is contained in:
parent
6778c34647
commit
b36c59c6c5
|
@ -26,5 +26,7 @@ $(print -l ${(q)putcmds})
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
for file in "${@}"; do
|
for file in "${@}"; do
|
||||||
print '\e[1;95m→\e[0m' https://tastytea.de/files/${dir}"${file##*/}"
|
local url=https://tastytea.de/files/"${dir}${file##*/}"
|
||||||
|
url=${url// /%20}
|
||||||
|
print '\e[1;95m→\e[0m' ${url}
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in New Issue
Block a user