
+ ConvertTo-Zip, originally created to mass convert CBRs to CBZs It will only be avilable when 7-zip is available (7z executable) Features: Shows progress, can work recursively (preserving folder structure), knows to move completed files. + Show-Progress: Shorthand for common progress related output manipulation (calculation of completion based on time, or item count, and verbose output if needeed) + ConvertFrom-TimeSpan: string output from timespan, used by Show-Progress + Get-Path updated to be more efficient (no need for exception handling) + PathProcessingFunctions loads a utility function GetShellSafePath * Repair-Permissions added some status reporting
4 lines
135 B
PowerShell
4 lines
135 B
PowerShell
function Get-ShellSafePath { param([string]$LiteralPath)
|
|
"`"$([Management.Automation.WildcardPattern]::Escape($LiteralPath))`""
|
|
}
|
|
|