I would like to recursively copy files to a single directory via batch file if files do not exist. If the files already exist in dir they should skip. I tried following, but copies files even if exist.
for /r %%d in (*filename*.tar) do copy "%%d" C:\mydata\
How can I solve this?
Thanks in advance!