[NEW] - Multiple hostfiles can now be passed via the -i option. The argument can be the name of a single file or a quoted list of files. The option can appear on the command line multiple times. -H and -i can be used together to create custom host lists. - The -L option will list all (if any) host- and command files found on their respective search paths. - The -W option will write out the inventory of hosts that would be processed if you actually executed the program, and then terminates. This works only in test mode. This allows you to embed tsshbatch in external shell scripts like this: for server in $(tsshbatch.py -i devserverlist -uatserverlist -W) do ssh $server done Why? Because tsshbatch has lots of powerful ways to maintain inventories of hosts and combine them through includes and multiple command line arguments. The -W option makes it convenient for external programs to make use of those inventory features. [CHANGES] - The -H option can now appear on the command line multiple times thereby creating an aggregate list of all hosts named therein. - Hostfiles must now be passed as an argument of -i. This was done to provide a consistent way of passing multiple host files on the commandline. [BUG FIXES] - File transfers now properly honor the -s (silent output) flag. TODO ---- - Options for searching all the command files and hostlistfiles - File Xfer: Allow from within cmd files. - Interactive shell? Future ------ - Show incremental output as program executes - File Xfer: Renaming - Cmdfile? - File Xfer: Globing - what about dirs, do we recurse? - Cmdfile? - implement sudoers Mode: - Capture bad password - Capture failed command output - Write the server noise, as it appears to stderr for debug purposes - Note in docs: In this mode it will HANG waiting for interactive input. - Note in docs: There is no separation between stdout and sterr in this mode