I'm using this command to archive all PHP files:
find -name "*.php" | sudo tar -zcpvf my-archive.tar.gz -T -
It works great, except that the output is like this:
./file1.php ./file2.php ./file3.php
file1.php file2.php file3.php
How do I need to modify my command so that ./ is not included in my archive?