I am trying to find all the files in the gt.BridgeGov branch in my opinion
find \gtGov -all -version "brtype(gt.BridgeGov)" -print
This statement works fine and lists all the files in the gt.BridgeGov branch. I get the list on the console, but I want to redirect the result to a text file.
I tried the following
find \gtGov -all -version "brtype(gt.BridgeGov)" > myFile.txt find \gtGov -all -version "brtype(gt.BridgeGov)" >> myFile.txt
It throws me an error cleartool: Error: Additional arguments: ">"
How to redirect the result to a text file?
-Update:
find \gtGov -all -version "brtype(gt.BridgeGov)" -print > myFile.txt
Tried this as well. Complete error. When I try.
find \gtGov -all -version "brtype(gt.BridgeGov)" | tee myFile.txt cleartool: Error: Extra arguments: "|" Usage: find { pname ... [-depth | -nrecurse | -directory] | [pname ...] -all [-visible | -nvisible] | -avobs [-visible | -nvisible] } [-name 'pattern'] [-cview] [-user login-name] [-group group-name] [-type {f|d|l}...] [-follow] [-kind object-kind] [-nxname] [-element query] [-branch query] [-version query] {-print | -exec command-invocation | -ok command-invocation} ...
Vivek source share