forfiles
forfiles with UNC path
I am trying to use forfiles to delete files that are older than 7 days. The files are in a UNC path. Below is the script that I am using.[详细]
2023-04-06 17:14 分类:问答How to use forfiles (or similar) to delete files older than n days, but always leaving most recent n
(Using Windows 2000 and 2003 Server) We use forfiles.exe to delete backup .zip files older than n days, and 开发者_如何学Goit works great (command is a bit like below)[详细]
2022-12-28 07:17 分类:问答-
Linux 中不输入密码运行 sudo 命令的方法
sudo命令允许受信任的用户作为另一个用户运行程序,默认情况下是root用户。这篇文章主要介绍了Linux 中不输入密码运行 sudo 命令的方法,需要的朋友可以参考下[详细]
2020-01-14 16:32 分类:运维