Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $XMLFiles | % { Process {
- [xml]$xml = Get-Content -LiteralPath $_.FullName;
- $LocalTitle = $Xml.DocumentElement.LocalTitle;
- $MP3Path = $Xml.DocumentElement.PlaylistItems.PlaylistItem.Path;
- New-Item -Path "$OutputPath\$LocalTitle" -ItemType Directory -ErrorAction SilentlyContinue;
- $MP3Path | % { Copy-Item -LiteralPath "\$($_.Replace("volume1", "ds418").Replace("/", "\"))" "$OutputPath\$LocalTitle"; };
- }};
Add Comment
Please, Sign In to add comment