Commit cf628b64 authored by Tomáš Hübelbauer's avatar Tomáš Hübelbauer

Implement skipping unchanged files

parent 1e84710a
......@@ -2,6 +2,13 @@
Get-ChildItem .\* -Include ("*.docx", "*.xlsx", "*.pptx") -Recurse |
Foreach-Object {
$officePath = $_.FullName
Write-Output "Checking $officePath"
$diff = (git diff "$officePath") | Out-String
If (-Not ($diff)) {
Write-Output "Skipping $officePath"
Write-Output "Extracting $officePath"
Copy-Item $officePath "$"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment