Willkommen Audio Rezepte

Powershell

Renaming

Replace html enconding

ls | rni -new {$_.name.replace("%20"," ")} -whatif -passthru

Recursive renaming, of only FILES

ls -rec -filter *.md5 -exclude md5sum*.md5 | ? {$_ -is [io.fileinfo]} | rni -new {$_.name.replace(".md5",".iso.md5")} -whatif -passthru

Finding special locations

foreach ($folder in [Enum]::GetValues([System.Environment+SpecialFolder])) {
     "{0,-25} = {1}" -f $folder, [Environment]::GetFolderPath($folder)
}