Trying to (finally) automated my BC tasks.I was overconfident, thought I had everything correct, ran the script and promptly deleted 96k files!
Went back to the beginning and created what I thought was a report difference script - both failed with this message: "1/30/2019 12:15:49 PM Fatal Scripting Error: Loaded session must be Folder Compare session". The scripts I tried are below.
First I tried using the existing session name:
log verbose append:"D:\Savethis\BCLog %date%.txt"
load "E:\ -> F:\ Folder Sync"
folder-report layout:summary &
options:display-mismatches,column-attributes,column-timestamp,column-size &
output-to:"D:\Savethis\Filecompare.txt"
Second, after seeing the error, I tried this, using a compare session I have:
log verbose append:"D:\Savethis\BCLog %date%.txt"
load "E:\ <--> F:\ All Files"
folder-report layout:summary &
options:display-mismatches,column-attributes,column-timestamp,column-size &
output-to:"D:\Savethis\Filecompare.txt"
Same error - I'm missing something basic but I do not know what it is.
If I understand the manual correctly, I should only need to use the session name to create/schedule/run a script, EG:
Load "E:\ <--> F:\ All Files"
select newer.files older.files
This fails with "1/30/2019 12:34:40 PM Fatal Scripting Error: Unknown command "load e:\ <--> f:\ all files"
These are my session names..

Bottom line: trying to create 2 scripts - one to run report, one to run an existing session.
Any help is greatly appreciated!
Greg
Went back to the beginning and created what I thought was a report difference script - both failed with this message: "1/30/2019 12:15:49 PM Fatal Scripting Error: Loaded session must be Folder Compare session". The scripts I tried are below.
First I tried using the existing session name:
log verbose append:"D:\Savethis\BCLog %date%.txt"
load "E:\ -> F:\ Folder Sync"
folder-report layout:summary &
options:display-mismatches,column-attributes,column-timestamp,column-size &
output-to:"D:\Savethis\Filecompare.txt"
Second, after seeing the error, I tried this, using a compare session I have:
log verbose append:"D:\Savethis\BCLog %date%.txt"
load "E:\ <--> F:\ All Files"
folder-report layout:summary &
options:display-mismatches,column-attributes,column-timestamp,column-size &
output-to:"D:\Savethis\Filecompare.txt"
Same error - I'm missing something basic but I do not know what it is.
If I understand the manual correctly, I should only need to use the session name to create/schedule/run a script, EG:
Load "E:\ <--> F:\ All Files"
select newer.files older.files
This fails with "1/30/2019 12:34:40 PM Fatal Scripting Error: Unknown command "load e:\ <--> f:\ all files"
These are my session names..
Bottom line: trying to create 2 scripts - one to run report, one to run an existing session.
Any help is greatly appreciated!
Greg
Comment