The typical selection is:
fexp -r '.RUN FILE fexp.startup;' < infilename > outfilename
Sample Command
fexp -r '.run file logon;' < samplescript.fexp
Sample Output
======================================================================== = = = FastExport Utility Release FEXP.16.10.00.00 = = Platform WIN32 = = PID 3032 = = = ======================================================================== = = = Copyright 1990-2017 Teradata Corporation. ALL RIGHTS RESERVED. = = = ======================================================================== **** 16:34:33 UTY2411 Processing start date: MON MAY 01, 2017 ======================================================================== = = = Logon/Connection = = = ======================================================================== 0001 .run file logon; 0002 .logtable testrunfile; 0003 .logon NODEID/feuser,; **** 16:34:33 UTY8400 Teradata Database Release: 16.10.00.00 **** 16:34:33 UTY8400 Teradata Database Version: 16.10.00.00 **** 16:34:33 UTY8400 Default character set: ASCII **** 16:34:33 UTY8400 Current RDBMS has UDT support **** 16:34:33 UTY8400 Current RDBMS has Large Decimal support **** 16:34:33 UTY8400 Current RDBMS has Statement Info Parcel support **** 16:34:33 UTY8400 Current RDBMS has FEXP w/o Spooling support **** 16:34:33 UTY8400 Current RDBMS has TASM support **** 16:34:33 UTY8400 Maximum supported buffer size: 1M **** 16:34:33 UTY8400 Data Encryption supported by RDBMS server **** 16:34:35 UTY6211 A successful connect was made to the RDBMS. **** 16:34:35 UTY6217 Logtable 'FEUSER.testrunfile' has been created.