sync: auto-sync from HOWARD-HOME at 2026-07-05 09:56:12
Author: Howard Enos Machine: HOWARD-HOME Timestamp: 2026-07-05 09:56:12
This commit is contained in:
10
.bk.ps1
Normal file
10
.bk.ps1
Normal file
@@ -0,0 +1,10 @@
|
||||
$b='C:\ProgramData\acg-backup'
|
||||
'--- COMPLETE.txt ---'
|
||||
if (Test-Path (Join-Path $b 'COMPLETE.txt')) { Get-Content (Join-Path $b 'COMPLETE.txt') } else { 'absent' }
|
||||
'--- dir listing ---'
|
||||
Get-ChildItem $b | Select-Object Name,Length,LastWriteTime | Format-Table -AutoSize | Out-String
|
||||
'--- rclone.log tail ---'
|
||||
Get-Content (Join-Path $b 'rclone.log') -Tail 25
|
||||
'--- rclone process ---'
|
||||
$p = Get-Process rclone -ErrorAction SilentlyContinue
|
||||
if ($p) { 'RUNNING pid=' + $p.Id } else { 'not running' }
|
||||
Reference in New Issue
Block a user