Archive/Extract with tar

Author Message

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.

Regards
John 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

John Smith

Thursday 14 February 2008 6:53:23 am

Is this command to archive(zip) the directories, sub-directories and files back into file.ezpkg??

Heath

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.

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

John Smith

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????

Cheers
Smith

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 18 2025 22:26:29
Script start
Timing: Jan 18 2025 22:26:29
Module start 'layout'
Timing: Jan 18 2025 22:26:29
Module start 'content'
Timing: Jan 18 2025 22:26:30
Module end 'content'
Timing: Jan 18 2025 22:26:30
Script end

Main resources:

Total runtime0.7023 sec
Peak memory usage4,096.0000 KB
Database Queries63

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0068 587.9453152.6250
Module start 'layout' 0.00680.0027 740.570339.4453
Module start 'content' 0.00950.6911 780.0156557.2344
Module end 'content' 0.70060.0017 1,337.250012.1641
Script end 0.7023  1,349.4141 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.4781160.0002
Check MTime0.00130.1852160.0001
Mysql Total
Database connection0.00130.178310.0013
Mysqli_queries0.642891.5247630.0102
Looping result0.00060.0876610.0000
Template Total0.671995.720.3359
Template load0.00270.384520.0014
Template processing0.669295.278920.3346
Template load and register function0.00020.025210.0002
states
state_id_array0.00080.112910.0008
state_identifier_array0.00140.197720.0007
Override
Cache load0.00200.2901310.0001
Sytem overhead
Fetch class attribute can translate value0.00060.088620.0003
Fetch class attribute name0.00110.162760.0002
XML
Image XML parsing0.00090.127120.0004
class_abstraction
Instantiating content class attribute0.00000.002470.0000
General
dbfile0.00080.1118170.0000
String conversion0.00000.001040.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
5content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
9content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
4content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 23
 Number of unique templates used: 7

Time used to render debug report: 0.0002 secs