I'm newbie in stack overflow.
I need your help. Thank you for your reply in advance.
I looked for similar questions, but it was hard to get a clear answer in my case.
I use my synology DS1515+ and DSM 6.2.2.
First of all, I have been made daily folder containing a date using script as below;
mkdir /volume1/video/$(date +%Y-%m-%d\(%a\))
This script is executed at daily midnight.
And some video files are downloaded. Those filenames contain date
For example, ABCDABCD.200328.avi or EFGHIJKH.200327.1080p.mp4
Filenames don't have certain rules but date is included in every filenames of YYMMDD type.
I'd like to copy these files to folders which is including same date.
(folder what is made automatically as above I explain)
Could you help or explain how to do it?
Thank you very much again. Have a good day.