fascinating rhythm
Сообщения: 6626 Благодарности: 1528
Профиль | Отправить PM | Цитировать
(dir D:\logs -File -Recurse -Include "*.txt" |? {($_.LastWriteTime).date -eq (get-date).AddDays(-1).Date}).FullName |% { $log = (gc $_) -notmatch 'files not found' $log |Set-Content $_ }
------- Powershell 7.x | Powershell 5.1 | ffmpeg (docs)
Отправлено: 13:04, 03-10-2022 | #6