I need to create a new tar archive from the filtered output of the original. I thought something like this might work:
tar xvpf myarchive.tar --exclude=foo* | tar cvpf mynewarchive.tar
but that doesn't.
Server Fault is a question and answer site for system and network administrators. It only takes a minute to sign up.Sign up to join this community