如何从 https url 获取最新文件。下面的命令组合了 URL 中存在的所有文件;
文件_20200819_000021_402.csv
文件_20200819_060004_003.csv
文件_20200819_120004_973.csv
wget -N --user=****** --password='******' -r -l1 --no-parent -A.csv https://url/ -O /home/oracle/testsss.csv
答案1
您需要删除该-O
参数
-O file
The documents will not be written to the appropriate files,
but all will be concatenated together and written to file.