I am trying to merge a folder with files in source location to a folder with files in destination location and instead of just copying files / overwriting, salt just wipes out the destination
file.copy:
- name: D://
- source: D://Staged/Folder
- force: True
- makedirs: True
- subdir: True
- preserve: True
So I am trying to copy folders/files from D://Staged/Folder to D://Folder (D://Folder already exists with folders and files) Instead everything inside D://Folder gets wiped out