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
- Host: GitHub
- URL: https://github.com/sparticuz/folder-watcher
- Owner: Sparticuz
- Created: 2017-05-11T17:43:56.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2018-01-16T14:29:51.000Z (over 8 years ago)
- Last Synced: 2025-02-23T11:16:50.821Z (over 1 year ago)
- Topics: file-system-events, folder-watch, powershell, psslack
- Language: PowerShell
- Size: 33.2 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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