( ! ) Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/lib/menu/GKBase.class.php on line 114
Call Stack
#TimeMemoryFunctionLocation
10.0015415320{main}( ).../index.php:0
20.12574720432Joomla\CMS\Application\SiteApplication->execute( ).../index.php:49
30.362214251880Joomla\CMS\Application\SiteApplication->render( ).../CMSApplication.php:202
40.362314251824Joomla\CMS\Application\SiteApplication->render( ).../SiteApplication.php:778
50.362314252200Joomla\CMS\Document\HtmlDocument->parse( ).../CMSApplication.php:1030
60.362314252200Joomla\CMS\Document\HtmlDocument->_fetchTemplate( ).../HtmlDocument.php:545
70.362514252296Joomla\CMS\Document\HtmlDocument->_loadTemplate( ).../HtmlDocument.php:730
80.362714292216require( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/component.php' ).../HtmlDocument.php:668
90.367014589904GKTemplate->__construct( ).../component.php:31
100.372214759280GKTemplateMenu->getMenuType( ).../gk.framework.php:84
110.372814804136require_once( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/lib/menu/GKMenu.php' ).../helper.menu.php:19

( ! ) Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/lib/menu/GKHandheld.php on line 76
Call Stack
#TimeMemoryFunctionLocation
10.0015415320{main}( ).../index.php:0
20.12574720432Joomla\CMS\Application\SiteApplication->execute( ).../index.php:49
30.362214251880Joomla\CMS\Application\SiteApplication->render( ).../CMSApplication.php:202
40.362314251824Joomla\CMS\Application\SiteApplication->render( ).../SiteApplication.php:778
50.362314252200Joomla\CMS\Document\HtmlDocument->parse( ).../CMSApplication.php:1030
60.362314252200Joomla\CMS\Document\HtmlDocument->_fetchTemplate( ).../HtmlDocument.php:545
70.362514252296Joomla\CMS\Document\HtmlDocument->_loadTemplate( ).../HtmlDocument.php:730
80.362714292216require( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/component.php' ).../HtmlDocument.php:668
90.367014589904GKTemplate->__construct( ).../component.php:31
100.374514932080GKTemplateMenu->getMenuType( ).../gk.framework.php:85
zip 压缩
Logo
Print this page

zip 压缩

如何在Debian下创建zip文件?
zip软件包可创建zip格式的压缩文件。
使用如下命令安装:

#aptitude install zip

 


使用方法zip [-derRF...][zipfile [file1 file2 ...]]
基本命令格式是 zip options article inpattern inpattern
article是新的或已存在的zip文件,inpattern是文件夹或文件路径,可包括通配符。
-d 删除zip文件中的文件,如

 

zip -d test.zip test/test

将删除test.zip文件中的test/test
-e 创建密码保护的zip文件
-F 修复zip文件
-r 递归文件夹结构
-R 在当前文件夹中递归
例如:
1.将当前目录下的test1 test2打包为test.zip文件

 

$zip test.zip test1 test2


2.将当前目录下的所有文件和文件夹打包为data.zip,不打包子文件夹。

$zip data *


3.将当前目录file中的所有文件和文件夹打包进file.zip文件,递归子文件夹。

$zip -r file.zip file


4,将当前文件夹中的所有文件打包为data.zip

$zip -R data *


后台执行

nohup zip -r -n wiki.zip wiki &
Last modified onSaturday, 05 January 2013 13:18

( ! ) Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php on line 169
Call Stack
#TimeMemoryFunctionLocation
10.0005415792{main}( ).../index.php:0
20.07394720904Joomla\CMS\Application\SiteApplication->execute( ).../index.php:49
30.07394720904Joomla\CMS\Application\SiteApplication->doExecute( ).../CMSApplication.php:196
40.287912449064Joomla\CMS\Application\SiteApplication->dispatch( ).../SiteApplication.php:233
50.289312473424Joomla\CMS\Component\ComponentHelper::renderComponent( ).../SiteApplication.php:194
60.290312528752Joomla\CMS\Component\ComponentHelper::executeComponent( ).../ComponentHelper.php:377
70.290612557576require_once( '/var/www/vhosts/shan.info/httpdocs/components/com_k2/k2.php' ).../ComponentHelper.php:402
80.299912992984K2ControllerItem->execute( ).../k2.php:64
90.299912992984K2ControllerItem->display( ).../BaseController.php:710
100.312413718184K2ControllerItem->display( ).../item.php:78
110.312413718184K2ControllerItem->display( ).../controller.php:19
120.316514114552Joomla\CMS\Cache\Controller\ViewController->get( ).../BaseController.php:663
130.318214134920K2ViewItem->display( ).../ViewController.php:102
140.378817072640K2ViewItem->display( ).../view.html.php:742
150.378817072640K2ViewItem->loadTemplate( ).../HtmlView.php:230
160.380717252840include( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php' ).../HtmlView.php:701
  • Published in Debian
  • Read 4334 times

( ! ) Notice: Only variables should be assigned by reference in /var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php on line 478
Call Stack
#TimeMemoryFunctionLocation
10.0005415792{main}( ).../index.php:0
20.07394720904Joomla\CMS\Application\SiteApplication->execute( ).../index.php:49
30.07394720904Joomla\CMS\Application\SiteApplication->doExecute( ).../CMSApplication.php:196
40.287912449064Joomla\CMS\Application\SiteApplication->dispatch( ).../SiteApplication.php:233
50.289312473424Joomla\CMS\Component\ComponentHelper::renderComponent( ).../SiteApplication.php:194
60.290312528752Joomla\CMS\Component\ComponentHelper::executeComponent( ).../ComponentHelper.php:377
70.290612557576require_once( '/var/www/vhosts/shan.info/httpdocs/components/com_k2/k2.php' ).../ComponentHelper.php:402
80.299912992984K2ControllerItem->execute( ).../k2.php:64
90.299912992984K2ControllerItem->display( ).../BaseController.php:710
100.312413718184K2ControllerItem->display( ).../item.php:78
110.312413718184K2ControllerItem->display( ).../controller.php:19
120.316514114552Joomla\CMS\Cache\Controller\ViewController->get( ).../BaseController.php:663
130.318214134920K2ViewItem->display( ).../ViewController.php:102
140.378817072640K2ViewItem->display( ).../view.html.php:742
150.378817072640K2ViewItem->loadTemplate( ).../HtmlView.php:230
160.380717252840include( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php' ).../HtmlView.php:701
Template Design © Joomla Templates | GavickPro. All rights reserved.