[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: mkfifo question



Mag Gam <magawake@gmail.com> wrote:
> Currently I download a file (which is about 700MB) from wget and place
> it in my /tmp and do my task on the file. If I have to work with 10 of
> these fies at a single time I have to have 10 files in /tmp.

> I was wondering if anyone has a clever idea how I can avoid having all
> 10 in /tmp and have a pipe or a "virtual file" so the program things
> there is actually a file there.

It really depends on what you need to do. Someone else has suggested
a FIFO. You might find the shell can handle this for you (wget -O-
url... | some_program...). If you can give us more information someone
will probably be able to give directed advice.

Chris


Reply to: