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