I've been using latest version of p7zip (9.20.1) on CentOS 5.6, and the following command does not seem to work as expected:
7za a php.7z *.php -r
I would want it to gather all PHP files while keeping the directory structure, but only very few of those file are actually in the archive created, with no error reported at all. Here is the generated output, if it can be useful:
7-Zip (A) 9.20 Copyright (c) 1999-2010 Igor Pavlov 2010-11-18
p7zip Version 9.20 (locale=it_IT.UTF-8,Utf16=on,HugeFiles=on,4 CPUs)
Updating archive php.7z
Everything is Ok
As you see, only 5 files where added, while there are about 100. If I try the same command using the windows version of 7z, all works fine.