November 2018
Intermediate to advanced
566 pages
17h 15m
English
Let's pick the location as $HOME/random. We don't know under what directory these .mp4 files would be. Therefore, do the following:
Here is the script that would help us with this task:
$ThresholdDate = (Get-Date).AddDays(-7)Get-ChildItem $HOME/random -rec -na *.mp4 | Where-Object { $_.CreationTime -lt $ThresholdDate -and $_.Length -gt 100KB }# Verbose version: Get-ChildItem $HOME/random -Recurse -Name *.mp4 | Where-Object -FilterScript ...Read now
Unlock full access