New
#1
command line to copy files from dir A to B but skip existing ones
Hi there
Is there a Windows command that can copy files from say directory A to directory B but skip any with the same name I don't want to update even if say directory A has a newer version than directory B --simply use existing names --if it exists skip.
I'm trying to replicate the Linux command :
rsync -a -v --ignore-existing <src> <dst> where src is source directory and dst is destination / target directory (or device etc)
(This command also has options to OVERWITE target directory with newer file -- I don't want that option yet - the example I gave will ignore existing files if they already exist in the target directory. Note also - this doesn't CARE what's in the files - it's purely on the NAME - no dates / attributes /size etc considerations are checked - simply the NAME - which is why this job can be lightning fast even for quite a lot of files.
What I'm trying to do is automate sending files to a NAS server every so often (say once a day / week) from WINDOWS clients when new files have been created --I don't need to backup all the windows clients - users can do that themselves - There's a job on the Clients that can backup / restore their desktop in entirety which is run on demand.
Any ideas --shouldn't be too hard but I don't really know too much of Windows possibilities from the CLI.
Note I don't want a GUI --need a command as this will be (eventually) an automated background process on the Windows clients.
I did see there's an experimental Bash interface - but putting that in the hands of inexperienced users would probably be a recipe for DISASTER !!!.
Cheers
jimbo