Forums / Install & configuration / Archive/Extract with tar

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

eZ debug

Timing: Jan 18 2025 19:31:16
Script start
Timing: Jan 18 2025 19:31:16
Module start 'content'
Timing: Jan 18 2025 19:31:16
Module end 'content'
Timing: Jan 18 2025 19:31:16
Script end

Main resources:

Total runtime0.0168 sec
Peak memory usage4,096.0000 KB
Database Queries4

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0064 588.8672180.8281
Module start 'content' 0.00640.0056 769.695398.0234
Module end 'content' 0.01200.0048 867.718874.7031
Script end 0.0168  942.4219 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002414.0787120.0002
Check MTime0.00116.5493120.0001
Mysql Total
Database connection0.00063.630210.0006
Mysqli_queries0.002615.676440.0007
Looping result0.00000.099120.0000
Template Total0.004425.910.0044
Template load0.00095.428910.0009
Template processing0.003420.441110.0034
Override
Cache load0.00063.647210.0006
General
dbfile0.00042.2889100.0000
String conversion0.00000.022730.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs