使用命令行查找在给定日期之后修改的 Windows 文件 [英] Find files on Windows modified after a given date using the command line

查看:23
本文介绍了使用命令行查找在给定日期之后修改的 Windows 文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要使用命令行搜索在给定日期之后修改的磁盘上的文件.

I need to search a file on my disk modified after a given date using the command line.

例如:

   dir /S /B WHERE modified date > 12/07/2013

推荐答案

您可以使用 PowerShell 来执行此操作.试试:

You can use PowerShell to do this. Try:

Get-ChildItem -Recurse | Where-Object { $_.LastWriteTime -ge "12/27/2016" }

这篇关于使用命令行查找在给定日期之后修改的 Windows 文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆