#拷贝D盘上次修改时间晚于2012/10/1的txt文件到E盘
$txt = get-childitem d:\*.txt | where-object {$_.lastwritetime -gt "2012/10/1"}
foreach ($t in $txt)
{copy-item $t e:\}
get-childitem e:\*.txt
拷贝修改时间晚于txt文件到E盘
原创
©著作权归作者所有:来自51CTO博客作者momingliu的原创作品,请联系作者获取转载授权,否则将追究法律责任
提问和评论都可以,用心的回复会被更多人看到
评论
发布评论
相关文章
-
Ubuntu之修改时区/时间
查看当前时间及时区状态sudo timedatectl status# 显示当前时区为Asia/Shanghai查看当前系统时间sudo date查看当前系统时间及时区sudo date -R# 显示当前时间及对应时区,时区为“+0800”北京时区修改硬件时间修改日期格式:MM月/DD日/YYYY年sudo date -s MM/DD/YYYY修改时间:hh时:mm分:ss秒 sudo date
ubuntu修改时区 ubuntu修改时间 ubuntu修改时间及时区 ubuntu修改时区和时间 ubuntu修改系统时间 -
如何防止U盘文件被拷贝?怎样保护U盘文件的安全?
如何防止U盘文件被拷贝?怎样保护U盘文件的安全?
备份文件 用户权限 自动备份 -
Docker修改容器的时间
Docker容器内系统时间不准确,可能会导致一系列问题,尤其是在依赖于时间戳进行操作的应用和服务中。
系统时间 Docker 时间同步 后端 服务器