全部 新建

user:thomas 由使用者建立的 Gists

title:mygist Gists 的標題

filename:myfile.txt Gists 的檔案名稱

extension:yml Gists 的副檔名

language:go Gists 的程式語言

topic:homelab gists with given topic

註冊

登錄


全部 新建 註冊 登錄

所有 Gists

倒序排序 創建
順序排序 創建
倒序排序 更新
順序排序 更新

phil / Copy settings files

0 喜歡
0 分支
1 檔案
最後活躍 6 days ago
Finds all configuration files within Program Files and x86 Program Files
1 <#
2 .SYNOPSIS
3 Scans Program Files directories on a source drive for critical config/license files
4 and mirrors them to a backup location using Robocopy, preserving directory structure.
5
6 .DESCRIPTION
7 1. Scans "Program Files" and "Program Files (x86)" on the source drive.
8 2. Looks for specific extensions (.ini, .lic, .db, etc.).
9 3. Calculates the destination path by swapping the drive root.
10 4. Uses Robocopy to copy the file (and its attributes/timestamps).

phil / test.txt

0 喜歡
0 分支
1 檔案
最後活躍 1 week ago
1 file
2 stuff
上一頁 下一頁

由 Opengist 提供支持 ⋅ Load: 32ms⋅

繁體中文
Čeština Deutsch English Español Français Magyar Italiano 日本語 Polski Português Русский Türkçe Українська 中文 繁體中文