I have a 100gig file on a remote server, what I need to do is connect to that machine and zcat that file and pipe the output of zcat to a command on a local machine... I was hoping smbclient would help but I can't seem to find a way to run a command locally but have the left side of the pipe come from a remote source.
What I think it will kinda look like with my made up command remoteZcatCommand
remoteZcatCommand 100gigRemotefile.gz | grep findSomeStuff
This maybe somewhat misleading as grep findSomeStuff will actually be a command that requires the hardware on the local machine. Also moving the 100gig file to the local machine is not an option.