Forums / Install & configuration / Archive/Extract with tar
John Smith
Thursday 14 February 2008 6:10:12 am
Hi There,
Hope someone can help me.
To extract the package named as file.ezpkg, I used tar -xzf file.ezpkg, it worked very well.
Just want to know the right command to archive or zip it back properly.
Please Help.
RegardsJohn Smith...
Heath
Thursday 14 February 2008 6:34:35 am
Try compressing the package directory as you would normally.
# tar -vzcf ezauthorize.ezpkg path/to/ezauthorize/extension/package/directory;
Cheers,Heath
Brookins Consulting | http://brookinsconsulting.com/ Certified | http://auth.ez.no/certification/verify/380350 Solutions | http://projects.ez.no/users/community/brookins_consulting eZpedia community documentation project | http://ezpedia.org
Thursday 14 February 2008 6:53:23 am
Is this command to archive(zip) the directories, sub-directories and files back into file.ezpkg??
Thursday 14 February 2008 7:55:24 am
Yes. The most important key I have seen with respect to ezpkg format is the directory structure.
Monday 18 February 2008 2:35:45 am
Cheers Heath,
I will have a go. Thanks anyway.
Another thing is there any way to compress ez publish directory on windows into one file?. I don't trust winzip.
I need this to transfer to my linux server.
Any recommendation from anyone????
CheersSmith