[ale] Bash question: | in find

Marvin Dickens mpdickens at tlanta.com
Thu Jan 23 18:46:44 EST 2003


On Fri, 2003-01-24 at 18:53, Joe wrote:

> find /cdrom/slackware -name "*.tgz" -exec tar tzvf {} | grep Xaw3d \; -print

To the best of my knowledge (Others on this list may know of a way to do
it...) you cannot send the output of "find" to "tar" and expect anything
useful to happen. However, I know from experience that if you write the
output from "find" to a text file first and then use "tar" with the -T
option to read the name of the file you want to extract (From the text
file...) it will work.



Best

Marvin Dickens 

_______________________________________________
Ale mailing list
Ale at ale.org
http://www.ale.org/mailman/listinfo/ale






More information about the Ale mailing list