Dateien hochladen nach „“

This commit is contained in:
esche 2023-07-08 00:14:20 +02:00
parent c3cb18999e
commit 56d13bcea9

View file

@ -18,19 +18,16 @@ print_help() {
printf "Help: not implemented yet" printf "Help: not implemented yet"
} }
delete="false"
while getopts 'e:dh' flag; do while getopts 'e:dh' flag; do
case "${flag}" in case "${flag}" in
e) extension+=("$OPTARG");; e) extension+=("$OPTARG");;
d) delete="true";; d) delete=true;;
h) print_help h) print_help
exit 0;; exit 0;;
*) exit 1 ;; *) exit 1 ;;
esac esac
done done
echo "$delete"
# write array into string # write array into string
extension="${extension[*]}" extension="${extension[*]}"
# change separator # change separator