Adam Porter ([EMAIL PROTECTED]):
> $ 7za a test.7z Scripts/ -x!Nothing
> 
> According to the man page and the p7zip manual, as best I can determine, this 
> should make a new file (test.7z) and add the contents of the Scripts 
> directory, while excluding the file or directory named "Nothing".  However, 
> the output of this command is simply:
> 
> bash: !Nothing: event not found

"!" has special meaning in bash, you need to escape it with "\", like
this:
 $ 7za a test.7z Scripts/ -x\!Nothing

-- 
-=[     Piotr Ozarowski     ]=-
-=[ http://www.ozarowski.pl ]=-

Attachment: pgpru09BJ5M4m.pgp
Description: PGP signature

Reply via email to