2014-git-work/powershell/date.ps1

2 lines
352 B
PowerShell
Raw Normal View History

2012-08-28 22:46:51 +09:00
<EFBFBD><EFBFBD># TX0<58>0<EFBFBD>0<EFBFBD>0<EFBFBD>0<EFBFBD>0<EFBFBD>0k0B0<42>0Y0y0f0n0<6E>0<EFBFBD>0<EFBFBD>0<EFBFBD>0n0<6E>0<EFBFBD>0<EFBFBD>0<EFBFBD>0 Tk0<EFBFBD>e<EFBFBD>N<EFBFBD>0?ceQY0<EFBFBD>0
ls -exclude date.* | ren -newname {$_.name -replace "^" , "$((get-itemproperty $_).lastwritetime -replace " .*" , $() -replace "/", "-") "}