this post was submitted on 06 Aug 2024
1 points (100.0% liked)

It's A Digital Disease!

23 readers
1 users here now

This is a sub that aims at bringing data hoarders together to share their passion with like minded people.

founded 2 years ago
MODERATORS
 
The original post: /r/datahoarder by /u/Soeroah on 2024-08-05 22:57:55.

Hi,

I've been using Robocopy to clone a Source folder on one device to a Destination on another using /mir for a while now, and I was wondering if it was possible to move any Extra files as opposed to deleting them.

Specifically, I'm imagining using two commands: One to first scan the two folders, identify any Extra files in the log and list them, without altering any of the files.

Second, my usual string, which would clone my Source to my Destination.

My question is: is it possible to write a Robocopy command that will check for Extra files that exist in the Destination folder but aren't in the Source folder, and move just those files to another folder elsewhere on the computer, effectively backing them up so when I run the second command those files will still exist on the PC, just not where they originally were?

Thank you

no comments (yet)
sorted by: hot top controversial new old
there doesn't seem to be anything here