I want to copy from a folder with several subfolders all csv files to a single folder. But I only want files that are not older than 30 days.
This is what i have so far:
for /R C:\Source %%f in (*.csv) do copy %%f U:\Target
I know there are more possibilities with robocopy, but I can not use robocopy with my code:
for /R C:\Source %%f in (*.csv) do robocopy %%f U:\Target