Horje
powershell how to delete files or folders last updated older than x days Code Example
powershell how to delete files or folders last updated older than x days
Get-ChildItem -Path "C:\Temp\temp" -Directory -recurse| where {$_.LastWriteTime -le $(get-date).Adddays(-10)} | Remove-Item -recurse -force
Get-ChildItem -Path "C:\Temp\temp" -File -recurse| where {$_.LastWriteTime -le $(get-date).Adddays(-10)} | Remove-Item -recurse -force




Shell

Related
unzip start of central directory not found Code Example unzip start of central directory not found Code Example
Can I export fbx files from SpeedTree for UE Code Example Can I export fbx files from SpeedTree for UE Code Example
powershell script clear cach at end Code Example powershell script clear cach at end Code Example
Git comands Code Example Git comands Code Example
conda install pydub Code Example conda install pydub Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
8