csshi icon indicating copy to clipboard operation
csshi copied to clipboard

Read hostnames from file

Open lightener opened this issue 3 years ago • 2 comments

This tool would be perfect if it could read hostnames from a file, in addition to taking a list at the command line.

Something like a -file or -hosts argument.

lightener avatar Aug 19 '22 19:08 lightener

Hi

Had thought about adding a host file option, but it's just extra code when xargs is always available on MacOS: $ xargs csshi < hosts.txt

ilikejam avatar Aug 19 '22 19:08 ilikejam

Or do you have a use case that makes xargs unusable?

ilikejam avatar Aug 19 '22 20:08 ilikejam