Dieses PowerShell-Skript sollte das tun, was Sie möchten (getestet unter Ubuntu 16.04 und Windows 10)
# Move-FileType.ps1 $Extensions = @('.mov','.jpg','.jpeg') Get-ChildItem -Directory /root/folder_?? | ForEach-Object { ForEach ($Ext in $Extensions) { $DestPath = Join-Path $_.FullName $Ext.Trim('.') If (!(Test-Path $DestPath)) Get-ChildItem -Path $_ -File -Filter "*$Ext" | Move-Item -Destination $DestPath -WhatIf } }