закачиваем в папку с датой файлы
How can I make a folder's name the date in bash?
bash script wget curl download files by date
# !/bin/bash
while [ true ]; do
# create a filename with date and time portion
way=/mnt/timelapse/$(date -I)
curl -s http://example.com/image.jpg --create-dirs -o $way/k6/k6_$(date -u +"%Y%m%d_%H_%M_%S").jpg
sleep 1;
done;