$baseDirectory = "C:\Test\Rename\"
$a = "\-(.*?)\_"
$b = "_"
$Include = '*.jpg'
Pushd $baseDirectory
Get-ChildItem -Filter "*$a*" -Recurse|
Rename-Item -NewName {$_.Name -replace $a,$b} -ErrorAction SilentlyContinue
PopD
默认情况下不打印时间戳。它只有-Xlog:gc*:/opt/myapp/gc.log
。如何将uptimemillis
添加到上述vm选项,以便它也可以打印时间戳。
PS:我使用的是Java 11,没有使用time
的特权。
答案 0 :(得分:1)
这也会打印日期/时间In [4]: np.vstack((a1,a2))
Out[4]:
array([[1, 2, 3],
[7, 8, 9]])
In [5]: print _4
[[1 2 3]
[7 8 9]]
In [6]: _4
Out[6]:
array([[1, 2, 3],
[7, 8, 9]])
In [8]: print repr(_4)
array([[1, 2, 3],
[7, 8, 9]])