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