I have files with their names as
StartDate, StartTime, EndDate and EndTime are given as input.
How can I get all filenames (or relative paths) having Date and Time between the given Date and Time ranges and write those to a Log file using a shell script?
Date and Time are not the last accessed or modified date/timestamp and there are no whitespaces in filenames.
And I can either take Date and Time input individually without any seperator between fields, for example
or I can take input as