Thomas
20-Dec-2010, 04:22 PM
Hi All!
I am trying to figure out how to capture just the filename from the result of the reports.
Here is my current script:
log verbose append:c:\logComp.txt
load d:\comp1 d:\comp2
expand all
filter + *.txt
select left.orphan.files
text-report layout:patch output-to:C:\report.txt
The reports shows:
Left base folder: d:\comp1
Right base folder: d:\comp2
File: test3.txt
1d0
< test
I would like to capture just the name from the mismatch only. For example:
test3.txt
Or if there multiples, it'll be 1 line per results:
test3.txt
test4.txt
Are there any options to accomplish this?
Thanks,
Thomas
I am trying to figure out how to capture just the filename from the result of the reports.
Here is my current script:
log verbose append:c:\logComp.txt
load d:\comp1 d:\comp2
expand all
filter + *.txt
select left.orphan.files
text-report layout:patch output-to:C:\report.txt
The reports shows:
Left base folder: d:\comp1
Right base folder: d:\comp2
File: test3.txt
1d0
< test
I would like to capture just the name from the mismatch only. For example:
test3.txt
Or if there multiples, it'll be 1 line per results:
test3.txt
test4.txt
Are there any options to accomplish this?
Thanks,
Thomas