2024 向好而生

💻

xcopy差异备份

@echo off
if exist y: net use y: /delete
net use y: \\192.168.50.36\smb /user:a\smb smb && xcopy /e/d/f "G:\bakup" "y:\U8\" && net use y: /delete
forfiles /p D:\smb\ZT003 /d -45 /c "cmd /c echo @file|findstr [1-9][023456789].$&&rd /s/q @path"

发表评论

此站点使用Akismet来减少垃圾评论。了解我们如何处理您的评论数据