Update 'moviedrop.ps1'

This commit is contained in:
cbrand 2023-03-31 00:46:15 -07:00
parent e73f9c71da
commit aafa4a1ea7

View File

@ -40,4 +40,5 @@ foreach ($movie in $movies) {
$targetPath = Join-Path -Path $pathRoot -ChildPath $targetFolder $targetPath = Join-Path -Path $pathRoot -ChildPath $targetFolder
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