Well, it turns out that after creating a PowerShell script to list deleted files (part 1) and another PowerShell script to monitor for deleted, renamed or moved files (part 2), I've decided to revert to a simple, batch file instead because running a batch file is so much easier than PowerShell!
This is part 2, of my attempt to "sync" photos I deleted on my desktop to my SD card (you can read part 1 first). In this post, I try to use PowerShell with .NET framework to (try) monitor for file system changes, and output to a batch file that "replicates" the
ren (rename) and
del (delete) to files and folders.
I have an unusual workflow when copying photos from my camera's SD card to my Windows desktop. For any photos I my desktop, I want to also delete on the SD card. In this post (part 1 of 2), I describe my PowerShell script to "repeat" what I deleted on the desktop on the SD card. In my next post, part 2, I expand the PowerShell script to (try) monitor for file system changes instead.
I recently discovered an alternative to remote control my Windows 7/10 desktop PC, instead of using Microsoft Remote Desktop. This method requires a computer with a modern NVIDIA graphics card with GameStream and works with iOS and macOS using a client called Moonlight!