Quantcast
Channel: Windows PowerShell forum
Viewing all articles
Browse latest Browse all 21975

Trying to create a script for a Backup - no success

$
0
0

Hello Community,

This is my first entry here and I hope I´m doing it correct.

My intention is to create a script which copies files from folder A to folder B automatic. every night. It should just copy the changed files, for example Word documents which were edited. Unchainged files should not be touched.

IF there is a changed file, it should copy it, but not overwrite it on the folder B, it should create a file with a date/time extension in the filename.

This is to save older versions of files for the case of mistakes while editing and back up short after. I hope I described it understandable.

Maybe anybody can help me with this, because I have just basic knowledge on Powershell.

Please excuse some grammar mistakes, I´m from germany and not a native english speaking person.

Best Regards,

Tobi


Viewing all articles
Browse latest Browse all 21975

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>