$searched=Read-Host"Name des Liedes?"$destPath="Pfad in den die Dateien sollen"$sourceFile=Get-ChildItem"Pfad zum Programm"|where {$_.Name-like"*$searched*"}$sourceMP3=Get-ChildItem$sourceFile.FullName|where{$_.Extension-eq".mp3"}$sourceJPG=Get-ChildItem$sourceFile.FullName|where{$_.Extension-eq".JPG"}Copy-Item-Path$sourceMP3.FullName-Destination$destPath'\'$sourceFile'.mp3'Copy-Item-Path$sourceJPG.FullName-Destination$destPath'\'$sourceFile'.jpg'
Comments (0)
HTTPSSSH
You can clone a snippet to your computer for local editing.
Learn more.