Quantcast
Channel: The Official Scripting Guys Forum! forum
Viewing all articles
Browse latest Browse all 15028

Script to update folder content based on a rev file

$
0
0

Hey, I'm trying to figure out how to get PS to update a folder's content if the rev file on the remote share is different.

Here' s the basic logic:

1. Get current rev (from a text file called Rev #.txt, where # is the number). 

2. Get new rev from a remote share (\\sharename\Rev #.txt)

3. If rev on the remote share is newer, copy the content from the remote share to the current folder.

4. Done.

Any help is much appreciated. Thanks!


Viewing all articles
Browse latest Browse all 15028

Trending Articles



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