I have a file share, and I want a process which enumerates files on that share and automatically creates a 7z self-extracting exe of files over 1 month old. On a different share, I want to create a 7z self-extracting exe of directories that are over 1 month old. Any idea if there is a program which can do this? I already have
7z a -t7z -mx9 -sfx filename.exe filename.txt
Portion of it, just need more of the auto-management portion.
Running on Windows Server 2008, yes, PowerShell is available. Cygwin would not be an option.