Really stuck up with a requirement where I need to move a file (Lets say date_Employee.txt--the date will have different date values like 20120612/20120613 etc) from one directory to another based on creation/modification dates.
While visiting couple of posts, i could see we can find the files between 2 dates like below,
But I am stuck up in the step of moving the file from one to another.
Also, I need to capture the dates from the Employee File(20120612 & 20120613 in the above example) to another text file for further processing of the batch.
Can anybody pls help me with some thoughts on this.
In this case, i assume that using the command you gave, it will move the above files into the destination directory (provided the above files are created/modified between the above said dates).
Now, i need to create another file (lets say dates.txt) with only the dates in the files we moved. In this case,