Tutti Nuovi

user:thomas utente che ha creato il gist

title:mygist titolo del gist

filename:myfile.txt nome di file nel gist

extension:yml estensione del file nel gist

language:go linguaggio del file nel gist

topic:homelab gists with given topic

Registrati

Entra


Tutti Nuovi Registrati Entra

Tutti i gists

Più recente creazione
Meno recente creazione
Più recente aggiornamento
Meno recente aggiornamento

phil / Copy settings files

0 mi piace
0 forks
1 files
Ultima volta attivo 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 mi piace
0 forks
1 files
Ultima volta attivo 1 week ago
1 file
2 stuff
Più nuovi Più vecchi

Creato da Opengist ⋅ Load: 36ms⋅

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