Piping Files

File contents can be piped to another application by omitting the local destination and providing a pipe "|" or redirect ">" command.  It is not necessary to use the "-D" display option when output is being piped or redirected.  For example, to page through a remote text file:

movedat foo.bar.com:readme.txt | less

This is particularly useful when downloading packages:

movedat foo.bar.com:MyDirectory=tgz | tar -zxf -

You can also pipe data into movedat (via stdin) by specifying a dash "" as the source.  For example, to send the output of myapp to the server "foo.bar.com", you could type:

myapp | movedat - foo.bar.com:output

On Windows, the performance of piping may not be as good as on other platforms or as targeting a file directly.

For gigabit or faster networks, or when piping to programs which may block, you may wish to increase the StreamSize.