/// <summary> /// Creates a zip archive for each file in a folder /// </summary> /// <param name="C">The context</param> /// <param name="SrcFolder">The folder that contains the files to be archived</param> /// <param name="DstFolder">The folder that will receive the archived files</param> /// <param name="PLL">Whether operations should be executed concurently</param> public static void ZipDirFiles(this IApplicationContext C, FolderPath SrcFolder, FolderPath DstFolder, bool PLL = true) => iter(SrcFolder.CreateFileArchiveCommands(DstFolder), command => C.Notify(C.CPS().ExecuteCommand(command).Message), PLL);