Page 1 of 1

Extract just the .PHP files

Posted: Tue Nov 22, 2016 6:55 am
by neworderfac33
Good morning,

I've made some changes to main.php and side.php, but I've lost my copy of the original unmodified files.
Can one of you nice people please tell me how to just extract those two files from the .tar, please?
Thank you.
Pete

Re: Extract just the .PHP files

Posted: Tue Nov 22, 2016 11:33 am
by rkennedy
I would use a program like 7zip to open up the tar.gz, or just extract it on linux using tar zxf filename.tar.gz

Re: Extract just the .PHP files

Posted: Wed Nov 23, 2016 4:51 am
by neworderfac33
Thank you - it was probably a silly question, but as this is the Dark Word of Linux, I wasn't even sure if I COULD unzip .tar files with 7Zip!
The syntax for unzipping it on the Linux server was useful too, so thank you - I've now been able to extract the two .PHP files, so this thread can be closed.
Pete

Re: Extract just the .PHP files

Posted: Wed Nov 23, 2016 11:09 am
by rkennedy
Awesome, I'll close this one up.