1 | initial version |
You can obtain a date sequence to create a file glob by using the following command in a terminal or command prompt:
echo /path/to/files/file_{20210101..20210131}.txt
This will generate a sequence of file names with dates ranging from January 1st, 2021 to January 31st, 2021, in the format of “file_yyyymmdd.txt”.
You can modify the start and end dates to generate different sets of file names as required.