In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-05 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly introduces php how to modify the file time attribute, has a certain reference value, interested friends can refer to, I hope you can learn a lot after reading this article, the following let the editor take you to understand it.
Modify file time attribute
When you try to hide your newly created file in a pile of files, in addition to creating a confusing file name, you also need to modify the modification date of the file.
/ / modify Set-ItemProperty-Path 2.txt LastWriteTime-Value "2020-11-01 12:12:12" / / access time modify Set-ItemProperty-Path 2.txt LastAccessTime-Value "2020-11-01 12:12:12" / / create time modify Set-ItemProperty-Path 2.txt CreationTime-Value "2020-11-01 12:12:12"
Use the command to get file properties
Get-ItemProperty-Path D:\ 1.dll | Format-list-Property *-Force
Modify the creation and modification time of all files in a folder
Powershell.exe-command "ls' upload\ *. * * | foreach-object {$_. LastWriteTime = Get-Date; $_. CreationTime = '2018-01-01 19001 0000'}" Thank you for reading this article carefully. I hope the article "how to modify the time properties of a file" shared by the editor will be helpful to you. At the same time, I hope you will support us and pay attention to the industry information channel. More related knowledge is waiting for you to learn!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.