Все Новый

user:thomas фрагментов создано пользователем

title:mygist gists with given title

filename:myfile.txt gists having files with given name

extension:yml gists having files with given extension

language:go gists having files with given language

topic:homelab gists with given topic

Регистрация

Войти


Все Новый Регистрация Войти

Все фрагменты

Свежие сверху по дате создания
Свежие снизу по дате создания
Свежие сверху по дате обновления
Свежие снизу по дате обновления

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: 38ms⋅

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