From 45cd1a29c9b1b9293d8f0d04af660731465d7d42 Mon Sep 17 00:00:00 2001 From: Fred Warren Date: Wed, 18 Aug 2021 08:16:04 -0700 Subject: [PATCH] added rec drive and rebase for openssh-server 2012R2 --- fileCsv2Json.py | 1 + updateFilelist.sh | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/fileCsv2Json.py b/fileCsv2Json.py index 8f38c82..0dba907 100755 --- a/fileCsv2Json.py +++ b/fileCsv2Json.py @@ -18,6 +18,7 @@ share_names = { 'D:\Tank\Shares\marketing': ['marketing', 'M:\\'], 'D:\Tank\Shares\\almar': ['almar', 'O:\\'], 'D:\Tank\Shares\production': ['production', 'P:\\'], + 'D:\Tank\Shares\\recreation': ['recreation', 'R:\\'], 'D:\Tank\Shares\photos': ['photos', 'U:\\'], } diff --git a/updateFilelist.sh b/updateFilelist.sh index b6f9416..87e2a6e 100755 --- a/updateFilelist.sh +++ b/updateFilelist.sh @@ -1,6 +1,6 @@ #!/bin/sh /usr/bin/ssh fredw@nrb-02 'powershell.exe -command "& {Get-SmbOpenFile} | ConvertTo-Csv -notype | out-file -encoding UTF8 -filepath files.csv"' -/usr/bin/scp fredw@nrb-02:/home/fredw/files.csv /tmp/files.csv +/usr/bin/scp fredw@nrb-02:files.csv /tmp/files.csv /usr/bin/ssh fredw@nrb-01 'powershell.exe -command "Get-DHCPServerv4scope | Get-DHCPServerv4Lease | ConvertTo-CSV -notype | out-file -encoding UTF8 -filepath dhcp.csv"' /usr/bin/scp fredw@nrb-01:/home/fredw/dhcp.csv /tmp/dhcp.csv