Automatic icloud backup to a singular folder on a Network drive
Posted: 28 Jul 2017 09:44
I will try to accurately describe what I want from this batch script.
1) It needs to be completely automated. I plan on attaching it to a scheduled task that will run every so often. I don't want to have to babysit the batch.
2) I need the source and destination set in clear variables. Something like Set copyfrom=C:\folder1\folder2\etc and Set copyto=M:\folder1\pictures. I'm not a good batch writer by no means, so this will help me if I ever need to change destination later. Please note, I'm copying to a network location, not the same drive.
3) The batch file will not be run from the source folder or the destination folder.
4) Any file with the exact same name and timestamp can be overwritten or skipped.
5) Any file with the exact same name and a different timestamp, new or old, needs characters amended to it. This item is crucial! I don't want to loose an old picture because a new one with the same file name overwrote it. Likewise, I don't want a new picture ignored because there was an old one in the destination with the same name.
6) Copy the timestamp with the files.
7) This is to archive photos, so nothing in the destination can be deleted
I only need one copy of any photo in the destination, so please, don't amend characters to every file
9) It needs to run through any sub-directories of source if any exist.
1) It needs to be completely automated. I plan on attaching it to a scheduled task that will run every so often. I don't want to have to babysit the batch.
2) I need the source and destination set in clear variables. Something like Set copyfrom=C:\folder1\folder2\etc and Set copyto=M:\folder1\pictures. I'm not a good batch writer by no means, so this will help me if I ever need to change destination later. Please note, I'm copying to a network location, not the same drive.
3) The batch file will not be run from the source folder or the destination folder.
4) Any file with the exact same name and timestamp can be overwritten or skipped.
5) Any file with the exact same name and a different timestamp, new or old, needs characters amended to it. This item is crucial! I don't want to loose an old picture because a new one with the same file name overwrote it. Likewise, I don't want a new picture ignored because there was an old one in the destination with the same name.
6) Copy the timestamp with the files.
7) This is to archive photos, so nothing in the destination can be deleted

9) It needs to run through any sub-directories of source if any exist.