Archive_Tar exclude subdirectory
| From: | Leon Kyneur | Date: | Wed, 30 Mar 2005 23:38:25 +0000 |
| Subject: | Archive_Tar exclude subdirectory | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-18425@lists.php.net to get a copy of this message | ||
Just wondering if you can exclude specific subdirectories with Archive_Tar.
Like using tar from the command line you would do this:
tar -czvf --exclude=/foo/bar foo.tar.gz /foo
excluding the 'bar' directory from the archive of /foo, i'm interested to know if this can be done using this PEAR class.
Many Thanks,
Leon