7 lines
379 B
PowerShell
7 lines
379 B
PowerShell
'--- upload.ps1 ---'
|
|
Get-Content 'C:\ProgramData\acg-backup\upload.ps1'
|
|
'--- rclone.conf (key masked) ---'
|
|
(Get-Content 'C:\ProgramData\acg-backup\rclone.conf') -replace '(key|pass|secret|account).*','$1 = ***'
|
|
'--- staging dir ---'
|
|
Get-ChildItem 'C:\ProgramData\acg-backup\staging' -ErrorAction SilentlyContinue | Select-Object Name,Length | Format-Table -AutoSize | Out-String
|