Guest_imported
New member
- Jan 1, 1970
- 0
I'm trying to get a list of files that are stored on tape. I've managed to come up with a command that works by looking at some old scripts from an older server. The command I'm using is
cpio -itv < /dev/rmt0 | tee /tmp/1998
What I'm unsure of is why the command fails unless i have the 'tee' after the pipe character. what does this 'tee' do? If I try cpio -itv < /dev/rmt0 | /tmp/1998 it tells me the file doesn't exist.
Thank You
cpio -itv < /dev/rmt0 | tee /tmp/1998
What I'm unsure of is why the command fails unless i have the 'tee' after the pipe character. what does this 'tee' do? If I try cpio -itv < /dev/rmt0 | /tmp/1998 it tells me the file doesn't exist.
Thank You