This is driving me crazy, i've read the man and info files for tar, and 
read what little info I could find on pipes.

I have a bunch of filename.tar.bz2 files in a directory that I wish to 
unzip and extract all at once.

It doesn't appear that tar lets one use wildcards with -xf, at least to 
do what I need.  So I'm trying to pipe my file list to tar -xvy

Tried

(ls | grep "*.bz2") | tar -xvyf -

(ls | grep "*.bz2") | tar -xvy

ls | grep "*.bz2" | tar -xvy

ls | grep "*.bz2" | tar -xvyf

bunzip2  *bz2 | tar -xvv

and about 15 more variations thereof, I must be an idiot.

Can someone shed some light?

thank you [:)]


Reply via email to