Find file between timestamps Query

On my linux box, I have a file say dump.txt.

I then need to move to another seperte folder and need to find only one file with extension *.tar that has the closest timestamp after / next to the timestamp of the dump.txt.

You have 386 posts. Is there an example of something you have tried yourself yet?

2 Likes
 
ls -l dump.txt --time-style=+"%Y%m%d %H:%M:%S"
-rwxr-x--- 1 dsl siebel 2302 20140902 09:31:24 dump.txt

I do not know how to extract "20140902 09:31:24" & increment the timestamp while matching it with the timestamp of all *.tar files.

I dont even know if this is the right approach.