[CentOS] tar with pipe
centos.newsgroup at sandsengen.com
Sun Sep 25 15:56:44 UTC 2005
CentOS 4.1 X86_64
I am trying to collect all my music files and extract them into a new
directory flat, (without the hierarchy)
The command works find without the pipe, but do not work with.
1.Why don't the command work after the pipe?
2.How do I remove the hierarchy before extracting?
$ tar -cvf music.tar `find ../ -name '*.mp3' -o -name '*.ogg'` | tar
More information about the CentOS