Skip to content

Instantly share code, notes, and snippets.

View Eroc33's full-sized avatar
😢
Long covid sucks

Euan Rochester Eroc33

😢
Long covid sucks
View GitHub Profile

Keybase proof

I hereby claim:

  • I am Eroc33 on github.
  • I am eroc33 (https://keybase.io/eroc33) on keybase.
  • I have a public key whose fingerprint is 36C7 0E75 3C05 1E54 1187 6617 8817 3A75 1A18 8D18

To claim this, I am signing this object:

$input_folder = "C:\ScannedPDFS\"
$output_folder = "C:\ScannedPDFS\Deskewed\{0}"
### SET FOLDER TO WATCH + FILES TO WATCH + SUBFOLDERS YES/NO
$watcher = New-Object System.IO.FileSystemWatcher
$watcher.Path = $input_folder
$watcher.Filter = "*.pdf"
$watcher.IncludeSubdirectories = $false
$watcher.EnableRaisingEvents = $true