Created
April 9, 2017 04:37
-
-
Save va2577/1e5ef34d7f191d12774cedaaff741c37 to your computer and use it in GitHub Desktop.
[Windows]ファイルの更新日時を一括で変更するコマンド(PowerShell)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Get-ChildItem -Recurse | | |
Where-Object { $_ -is [System.IO.FileInfo] } | | |
ForEach-Object { Set-ItemProperty $_.FullName -Name LastWriteTime -Value ("2016/02/07" + " " + $_.LastWriteTime.ToString("HH:mm:ss")) } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment