Recursive Touch in Powershell
I could not find any direct substitute for the UNIX touch
command in Windows Powershell. Though there are different workarounds to do all of the different things that it does. To mark all the files inside a directory as modified, we can run the following command
dir <folder> -R | foreach { $_.LastWriteTime = [System.DateTime]::Now }