정보&강의 라이믹스 코어 업데이트에 따른 파일삭제 스크립트 사용 하기
- 운영자
- 36
- 0
최근 라이믹스 코어가 업데이트 되면서 불필요한 파일 삭제를 해야하는 경우가 있습니다.
여러 사이트를 관리하고 파일을 삭제해야하는 경우 스크립트 명령어로 삭제하는 것이 편리합니다.
라이믹스가 설치된 루트 폴더에서 아래 코드를 sh 파일로 작성후 cli 실행을 하시면 됩니다.
업데이트 내용
라이믹스 2.1.12 버전까지 적용
rm.sh 예제입니다.
rm -rf addons/blogapi/ rm -rf addons/captcha_member/ rm -rf addons/member_communication/ rm -rf addons/mobile/ rm -rf addons/openid_delegation_id/ rm -rf classes/cache/CacheApc.class.php rm -rf classes/cache/CacheFile.class.php rm -rf classes/cache/CacheMemcache.class.php rm -rf classes/cache/CacheWincache.class.php rm -rf classes/db/DBCubrid.class.php rm -rf classes/db/DBMssql.class.php rm -rf classes/db/DBMysql.class.php rm -rf classes/db/DBMysql_innodb.class.php rm -rf classes/db/DBMysqli.class.php rm -rf classes/db/DBMysqli_innodb.class.php rm -rf classes/db/DBFirebird.class.php rm -rf classes/db/DBPostgresql.class.php rm -rf classes/db/DBSqlite3_pdo.class.php rm -rf classes/db/queryparts/ rm -rf classes/object/BaseObject.class.php rm -rf classes/xml/XmlQueryParser.class.php rm -rf classes/xml/xmlquery/ rm -rf common/css/rhymix.less rm -rf common/framework/cache.php rm -rf common/framework/calendar.php rm -rf common/framework/config.php rm -rf common/framework/datetime.php rm -rf common/framework/db.php rm -rf common/framework/debug.php rm -rf common/framework/drivers/cache/wincache.php rm -rf common/framework/drivers/cache/xcache.php rm -rf common/framework/drivers/cacheinterface.php rm -rf common/framework/drivers/mailinterface.php rm -rf common/framework/drivers/pushinterface.php rm -rf common/framework/drivers/smsinterface.php rm -rf common/framework/exception.php rm -rf common/framework/exceptions/dberror.php rm -rf common/framework/exceptions/featuredisabled.php rm -rf common/framework/exceptions/invalidrequest.php rm -rf common/framework/exceptions/mustlogin.php rm -rf common/framework/exceptions/notpermitted.php rm -rf common/framework/exceptions/queryerror.php rm -rf common/framework/exceptions/securityviolation.php rm -rf common/framework/exceptions/targetnotfound.php rm -rf common/framework/filters/filecontentfilter.php rm -rf common/framework/filters/filenamefilter.php rm -rf common/framework/filters/htmlfilter.php rm -rf common/framework/filters/ipfilter.php rm -rf common/framework/filters/mediafilter.php rm -rf common/framework/formatter.php rm -rf common/framework/helpers/confighelper.php rm -rf common/framework/helpers/dbhelper.php rm -rf common/framework/helpers/dbresulthelper.php rm -rf common/framework/helpers/dbstmthelper.php rm -rf common/framework/helpers/sessionhelper.php rm -rf common/framework/image.php rm -rf common/framework/korea.php rm -rf common/framework/lang.php rm -rf common/framework/mail.php rm -rf common/framework/mime.php rm -rf common/framework/pagination.php rm -rf common/framework/parsers/baseparser.php rm -rf common/framework/parsers/configparser.php rm -rf common/framework/parsers/dbquery/columnread.php rm -rf common/framework/parsers/dbquery/columnwrite.php rm -rf common/framework/parsers/dbquery/condition.php rm -rf common/framework/parsers/dbquery/conditiongroup.php rm -rf common/framework/parsers/dbquery/emptystring.php rm -rf common/framework/parsers/dbquery/groupby.php rm -rf common/framework/parsers/dbquery/indexhint.php rm -rf common/framework/parsers/dbquery/navigation.php rm -rf common/framework/parsers/dbquery/nullvalue.php rm -rf common/framework/parsers/dbquery/orderby.php rm -rf common/framework/parsers/dbquery/query.php rm -rf common/framework/parsers/dbquery/table.php rm -rf common/framework/parsers/dbquery/variablebase.php rm -rf common/framework/parsers/dbqueryparser.php rm -rf common/framework/parsers/dbtable/column.php rm -rf common/framework/parsers/dbtable/constraint.php rm -rf common/framework/parsers/dbtable/index.php rm -rf common/framework/parsers/dbtable/table.php rm -rf common/framework/parsers/dbtableparser.php rm -rf common/framework/parsers/editorcomponentparser.php rm -rf common/framework/parsers/langparser.php rm -rf common/framework/parsers/moduleactionparser.php rm -rf common/framework/parsers/moduleinfoparser.php rm -rf common/framework/parsers/xmlrpcparser.php rm -rf common/framework/password.php rm -rf common/framework/push.php rm -rf common/framework/router.php rm -rf common/framework/security.php rm -rf common/framework/session.php rm -rf common/framework/sms.php rm -rf common/framework/storage.php rm -rf common/framework/timer.php rm -rf common/framework/ua.php rm -rf common/framework/url.php rm -rf common/img/flvplayer.swf rm -rf common/js/html5.js rm -rf common/js/jquery-1.12.4.js rm -rf common/js/jquery-1.12.4.min.js rm -rf common/js/plugins/jquery.migrate/jquery-migrate-1.4.1.js rm -rf common/js/plugins/spectrum/Gruntfile.js rm -rf common/js/plugins/spectrum/bower.json rm -rf common/js/plugins/spectrum/build/ rm -rf common/js/plugins/spectrum/docs/ rm -rf common/js/plugins/spectrum/example/ rm -rf common/js/plugins/spectrum/index.html rm -rf common/js/plugins/spectrum/package.json rm -rf common/js/plugins/spectrum/test/ rm -rf common/js/respond.min.js rm -rf common/lang/lang.xml rm -rf common/libraries/bmp.php rm -rf common/manual/server_config/rhymix-nginx-help.md rm -rf common/tpl/redirect.html rm -rf composer.json rm -rf composer.lock rm -rf config/func.inc.php rm -rf config/package.inc.php rm -rf layouts/xedition/lang/lang.xml rm -rf libs/ rm -rf modules/addon/lang/lang.xml rm -rf modules/admin/lang/lang.xml rm -rf modules/admin/ruleset/toggleFavorite.xml rm -rf modules/admin/tpl/config_ftp.html rm -rf modules/admin/tpl/css/admin.min.css rm -rf modules/admin/tpl/img/faviconSample.png rm -rf modules/admin/tpl/img/mobiconSample.png rm -rf modules/admin/tpl/js/admin.min.js rm -rf modules/admin/tpl/js/config.min.js rm -rf modules/admin/tpl/js/menu_setup.min.js rm -rf modules/autoinstall/lang/lang.xml rm -rf modules/board/board.wap.php rm -rf modules/board/lang/lang.xml rm -rf modules/comment/lang/lang.xml rm -rf modules/communication/lang/lang.xml rm -rf modules/document/lang/lang.xml rm -rf modules/editor/components/emoticon/tpl/popup.less rm -rf modules/editor/lang/lang.xml rm -rf modules/editor/skins/ckeditor/lang/lang.xml rm -rf modules/editor/skins/simpleeditor/css/simpleeditor.less rm -rf modules/editor/skins/xpresseditor/ rm -rf modules/editor/styles/ rm -rf modules/editor/tpl/preview.html rm -rf modules/file/lang/lang.xml rm -rf modules/importer/lang/lang.xml rm -rf modules/install/lang/lang.xml rm -rf modules/integration_search/lang/lang.xml rm -rf modules/krzip/lang/lang.xml rm -rf modules/layout/lang/lang.xml rm -rf modules/member/controllers/device.php rm -rf modules/member/lang/lang.xml rm -rf modules/menu/lang/lang.xml rm -rf modules/message/lang/lang.xml rm -rf modules/module/lang/lang.xml rm -rf modules/module/schemas/site_admin.xml rm -rf modules/module/tpl/css/module_admin.less rm -rf modules/ncenterlite/lang/lang.xml rm -rf modules/page/lang/lang.xml rm -rf modules/page/page.wap.php rm -rf modules/page/tpl/css/mpage.css rm -rf modules/point/lang/lang.xml rm -rf modules/poll/lang/lang.xml rm -rf modules/rss/lang/lang.xml rm -rf modules/session/lang/lang.xml rm -rf modules/spamfilter/lang/lang.xml rm -rf modules/spamfilter/ruleset/ rm -rf modules/spamfilter/spamfilter.lib.php rm -rf modules/trash/lang/lang.xml rm -rf modules/widget/lang/lang.xml rm -rf phpDoc/ rm -rf vendor/ rm -rf modules/file/ruleset/imageResize.xml rm -rf modules/integration_search/skins/default/trackback.html
sh 스크립트 파일의 실행 방법
[root@webserver public_html]# chmod +x rm.sh [root@webserver public_html]# sh rm.sh
rm -rf 공통/js/플러그인/spectrum/package.json
이런 글도 찾아보세요!
댓글 0
권한이 없습니다. 로그인