[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bug with tar command
From: |
Michael Elizabeth Chastain |
Subject: |
Re: Bug with tar command |
Date: |
Thu, 22 Apr 2004 23:03:39 -0400 (EDT) |
Try this:
tar -xvf test.tar 'test[1].txt'
The issue is that the square brackets are magic characters to your shell.
So when you say:
tar -xvf test.tar test[1].txt
Your shell interprets the [1] part, in a way that is bad for you.
Use single quotes so that the shell does not interpret the [1] part
and passes the exact string that you want to tar.
Michael C
- Bug with tar command, jason nguyen, 2004/04/22
- Re: Bug with tar command,
Michael Elizabeth Chastain <=