I am trying to copy the latest folder on a remote sever to a local folder using robocopy without any luck any suggestions
Asked
Active
Viewed 156 times
-1
-
1what latest folder means ? last written date? – DisplayName Jul 26 '16 at 19:57
-
You've neither described how the "latest folder" is determined nor shown what you've attempted thus far. SO expects that you'll put a minimum amount of effort into describing the issue and demonstrate what you've done to attempt to complete the task. – alroc Jul 26 '16 at 20:04
-
ROBOCOPY "\\Source" "destination\Migration_Staging" *db_7.0.0.0.zip – rthomfohrde Jul 26 '16 at 21:20
-
looking for the last file written to a folder or last folder written to a directory – rthomfohrde Jul 26 '16 at 21:21
-
Still confusing what is last written to a folder or last written to a directory? – DisplayName Jul 27 '16 at 07:23
1 Answers
0
Its
ROBOCOPY \\sourceserver\share c:\local /MIR
(Mir)Mirror a directory with subfolders incl. empty directories
robocopy \\server\share c:\localfolder /MIR
more here https://social.technet.microsoft.com/wiki/contents/articles/1073.robocopy-and-a-few-examples.aspx

DisplayName
- 1,008
- 10
- 24