Created
December 16, 2023 11:26
-
-
Save dhcgn/ec2d414fc132160ff57fff55e7d0b9b0 to your computer and use it in GitHub Desktop.
Watch folder for JPGs and move them
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$source = "C:\SFTP_Root" | |
$target = "G:\Meine Ablage\Bilder\Projekte\2023 Tanzaufführung\Generealprobe\LIVE" | |
for(){Write-Host "." -NoNewline; gci $source -Recurse -File -Include *.jpg | Move-Item -Destination $target -Verbose -ErrorAction SilentlyContinue; sleep -Seconds 1} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment