diff --git a/TODO b/TODO index d3d0f90..27fddb1 100644 --- a/TODO +++ b/TODO @@ -19,15 +19,13 @@ [BUG FIXES] -- +- File transfers now properly honor the -s (silent output) flag. TODO ---- -- Make file xfer noise go away with -s - -- Add lshost feature +- Options for searching all the command files and hostlistfiles - File Xfer: Allow from within cmd files. @@ -39,8 +37,6 @@ - File Xfer: Globing - what about dirs, do we recurse? -- Options for searching all the command files and hostlistfiles - - Interactive shell? diff --git a/tsshbatch.py b/tsshbatch.py index bc64623..0133eb0 100755 --- a/tsshbatch.py +++ b/tsshbatch.py @@ -14,7 +14,7 @@ # Version Information - Overwritten by makefile during release process ##### -GITID = 'f468cac tundra Wed Sep 28 18:57:08 2016 -0500' +GITID = '64f745e tundra Fri Sep 30 15:35:13 2016 -0500' VERSION = '1.311' @@ -384,13 +384,15 @@ if GET: destination += host + HOSTSEP + os.path.basename(srcfile) - PrintStdout(iTXFILE % (host + ":" + srcfile, destination)) + if NOISELEVEL != SILENT: + PrintStdout(iTXFILE % (host + ":" + srcfile, destination)) sftp.get(srcfile, destination) os.chmod(destination, sftp.stat(srcfile).st_mode) else: destination += os.path.basename(srcfile) - PrintStdout(iTXFILE % (srcfile, host + ":" + destination)) + if NOISELEVEL != SILENT: + PrintStdout(iTXFILE % (srcfile, host + ":" + destination)) sftp.put(srcfile, destination) sftp.chmod(destination, os.stat(srcfile).st_mode) diff --git a/tsshbatch.rst b/tsshbatch.rst index 60efc58..9c50f6b 100644 --- a/tsshbatch.rst +++ b/tsshbatch.rst @@ -1243,7 +1243,7 @@ :: - $Id: 'f468cac tundra Wed Sep 28 18:57:08 2016 -0500' + $Id: '64f745e tundra Fri Sep 30 15:35:13 2016 -0500' This document was produced with ``emacs``, ``RestructuredText``, and ``TeX Live``.