wget сохраняет загруженные файлы как имя короткой ссылки, а не фактические имена файлов

Посмотрите на 4 arranger и 5 line!

#!/bin/bash
foldername='New Folder'
number=1
number=$((number+1))
cd "$foldername$number"
echo '$number' > number.txt
2
25.08.2018, 23:31
1 ответ

Опция --trust-server-namesдолжна это делать.

--trust-server-names

If this is set to on, on a redirect the last component of the redirection URL will be used as the local file name. By default it is used the last component in the original URL.

5
27.01.2020, 22:03

Теги

Похожие вопросы