Hi All<\/p>\n
I am running the following:<\/p>\n
robocopy.exe \"I:\\shared\" \"x:\\archived\\shared\" *.* /E /COPY:DATSOU /MOVE /ZB /MINLAD:400 /R:2 /W:10 /log:X:\\robolog.txt\n<\/code><\/pre>\n
Advertisement
It copies the files to the destination but doesn’t remove them from the source, am I doing something or misunderstanding what it should be doing?<\/p>\n
No errors in the logs either.<\/p>","upvoteCount":4,"answerCount":8,"datePublished":"2015-05-19T06:11:32.000Z","author":{"@type":"Person","name":"trentq","url":"https://community.spiceworks.com/u/trentq"},"acceptedAnswer":{"@type":"Answer","text":"
Also you have some switch conflicts. Why are you using both /copy and /move?<\/p>","upvoteCount":4,"datePublished":"2015-05-19T07:59:03.000Z","url":"https://community.spiceworks.com/t/robocopy-wont-remove-source-files-after-copy/404947/5","author":{"@type":"Person","name":"Little-Green-Man","url":"https://community.spiceworks.com/u/Little-Green-Man"}},"suggestedAnswer":[{"@type":"Answer","text":"
Hi All<\/p>\n
I am running the following:<\/p>\n
robocopy.exe \"I:\\shared\" \"x:\\archived\\shared\" *.* /E /COPY:DATSOU /MOVE /ZB /MINLAD:400 /R:2 /W:10 /log:X:\\robolog.txt\n<\/code><\/pre>\nIt copies the files to the destination but doesn’t remove them from the source, am I doing something or misunderstanding what it should be doing?<\/p>\n
No errors in the logs either.<\/p>","upvoteCount":4,"datePublished":"2015-05-19T06:11:32.000Z","url":"https://community.spiceworks.com/t/robocopy-wont-remove-source-files-after-copy/404947/1","author":{"@type":"Person","name":"trentq","url":"https://community.spiceworks.com/u/trentq"}},{"@type":"Answer","text":"
make shure you have writing permissions on the source files<\/p>","upvoteCount":1,"datePublished":"2015-05-19T06:25:52.000Z","url":"https://community.spiceworks.com/t/robocopy-wont-remove-source-files-after-copy/404947/2","author":{"@type":"Person","name":"Aimero","url":"https://community.spiceworks.com/u/Aimero"}},{"@type":"Answer","text":"
Yep I did a test run with copy instead of move and that completed successfully<\/p>","upvoteCount":0,"datePublished":"2015-05-19T07:11:18.000Z","url":"https://community.spiceworks.com/t/robocopy-wont-remove-source-files-after-copy/404947/3","author":{"@type":"Person","name":"trentq","url":"https://community.spiceworks.com/u/trentq"}},{"@type":"Answer","text":"
If no log was produced, look at your code again.<\/p>","upvoteCount":1,"datePublished":"2015-05-19T07:57:48.000Z","url":"https://community.spiceworks.com/t/robocopy-wont-remove-source-files-after-copy/404947/4","author":{"@type":"Person","name":"Little-Green-Man","url":"https://community.spiceworks.com/u/Little-Green-Man"}},{"@type":"Answer","text":"