Does New-Item also update the timestamp on existing files? I'm not against PowerShell, just might not be an entirely equivalent command if it doesn't update timestamps (though does cover the most common use).
touch updates accessed and modified timestamps if the file(s) exist (current time by default arguments available for setting a specific time).
Started my career in the 1980's doing government contract work, I have worked in most industries, done some angel investing, been through a few IPOs. Travelled the world, and now settled down.
Powershell Alternative for
touchisNew-Itemorni. And No Powershell is not shitDoes
New-Itemalso update the timestamp on existing files? I'm not against PowerShell, just might not be an entirely equivalent command if it doesn't update timestamps (though does cover the most common use).touchupdates accessed and modified timestamps if the file(s) exist (current time by default arguments available for setting a specific time).Nope it does not - but it is easy to create a touch command in powershell, and put it in your profile.