$ tar -czgf- /path/to/stuff | ./your_script #### $ mkfifo mypipe $ tar -czf mypipe /path/to/stuff & $ ./your_script --infile mypipe