Update 'moviedrop.ps1'

This commit is contained in:
cbrand 2023-03-31 00:50:01 -07:00
parent aafa4a1ea7
commit 51e365c87a

View File

@ -39,6 +39,7 @@ foreach ($movie in $movies) {
$targetPath = Join-Path -Path $pathRoot -ChildPath $targetFolder $targetPath = Join-Path -Path $pathRoot -ChildPath $targetFolder
Write-Host "Move-Item -Path '$($movie.FullName)' -Destination '$($targetPath)'"
Move-Item -Path $movie.FullName -Destination $targetPath -Force -ErrorAction Continue | Out-Null Move-Item -Path $movie.FullName -Destination $targetPath -Force -ErrorAction Continue | Out-Null
} }
chown cbrand:users $pathRoot chown cbrand:users $pathRoot