FW: [PHP] using tar to untar a file into a certain dir... In php of course

From: Date: Fri, 16 Feb 2001 22:15:47 +0000
Subject: FW: [PHP] using tar to untar a file into a certain dir... In php of course
Groups: php.general 
Request: Send a blank email to php-general+get-40239@lists.php.net to get a copy of this message
From: Brandon Orther [mailto:brandon@webintellects.com] Sent: Friday, February 16, 2001 2:07 PM To: DanO Subject: RE: [PHP] using tar to untar a file into a certain dir... In php of course That just untars it into the current dir the php script is in. -----Original Message----- From: DanO [mailto:dano@informano.net] Sent: Friday, February 16, 2001 1:58 PM To: PHP User Group Subject: RE: [PHP] using tar to untar a file into a certain dir... In php of course have you tried: mv mytar.tar /my/path/to/dir/; tar -xpf /my/path/to/dir/mytar.tar this should work, but there may be a more direct unix-y way to do it. DanO -----Original Message----- From: Brandon Orther [mailto:brandon@webintellects.com] Sent: Friday, February 16, 2001 1:49 PM To: PHP User Group Subject: [PHP] using tar to untar a file into a certain dir... In php of course Hello, I am making a php file that untars files. What I can't seem to figure out is how to untar a file into another folder. I have tried: tar -xpf file.tar /new/folder/* & and & tar -xpf file.tar /new/folder/ does anyone know how to do this? Thank you, -------------------------------------------- Brandon Orther WebIntellects Design/Development Manager brandon@webintellects.com 800-994-6364 www.webintellects.com -------------------------------------------- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.general (#40239) next »