An open API service indexing awesome lists of open source software.

https://github.com/sparticuz/folder-watcher

Post folder changes to Slack channel
https://github.com/sparticuz/folder-watcher

file-system-events folder-watch powershell psslack

Last synced: 16 days ago
JSON representation

Post folder changes to Slack channel

Awesome Lists containing this project

README

          

# Folder Watcher & PSSlack

This script uses [Powershell FileSystemWatcher](https://gallery.technet.microsoft.com/scriptcenter/Powershell-FileSystemWatche-dfd7084b#content) and [PSSlack](https://github.com/RamblingCookieMonster/PSSlack) to post folder status updates to a Slack channel.

## To Run
folder-watcher.ps1 can be run with the following parameters
* -folder #Enter the root path you want to monitor.
* -filter #You can enter a wildcard filter here.
* -includesubdir #$true or $false
* -slackUri #The Slack URI, add one [here](https://my.slack.com/apps/A0F7XDUAZ)
* -slackChannel #The channel or dm of the message

## To stop
run folder-unwatcher.ps1 to unregister the Watchers