Saturday, December 06, 2008

a simple script to install remotely plugins and theme to wordpress

when I want to install a plugin or a theme on my distant server, I merely copy the URL in the clipboard and type in the terminal of my macbook
>plugin www.../theplugin.zip
To do this, just add to your .bashrc :
plugin () { ssh nrolland@xquant.net "cd /var/www/xquant.net/subdomains/blog/httpdocs/wp-content/plugins; wget -O toto $1; unzip toto; rm toto" } theme () { ssh nrolland@xquant.net "cd /var/www/xquant.net/subdomains/blog/httpdocs/wp-content/themes; wget -O toto $1; unzip toto; rm toto" }

42 Comments:

At 10:32 PM, Blogger nancy said...

This comment has been removed by a blog administrator.

 
At 7:17 AM, Blogger  said...

This comment has been removed by a blog administrator.

 
At 2:55 AM, Blogger 簡單 said...

武則天影音視訊聊天室比基尼美女的奶,玩美女人影音秀比基尼辣妹比基尼辣妹dudu sex本土自拍天堂34c寶貝視訊本土自拍貼圖t 6成人網頁月光論壇日本 avdvd 介紹免費觀賞日本ab女傭影片日本a電影影音視訊聊天99734c視訊俱樂部d736 免費聊天室影音交友616 情色聊天室免費視訊聊天1768視訊美女maxworld免費聊天交友61618jack主入口豆豆聊天室hi5 tv 免費影片77p2p影片區倉井空免費影片a片-sexdiy影城aio168論壇 bt成人網聊天室交友have視訊美女engin視訊交友iccgogo2sex咆哮小老鼠入口咆哮小老鼠咆哮小老鼠論壇aa免費影片jp素人露出大全集免費交友聊天fm358一夜成人聊天室交友網-視訊百事台南視訊

 
At 1:24 AM, Blogger 台灣 said...

真正的友誼,有如健康失去時,始知其價值..............................

 
At 8:47 PM, Blogger 監控 said...

台灣性樂園台灣色情論壇三點全裸台灣成人色情網色情站美女脫胸罩愛愛圖片台灣色情成人網站辣妹妹影音視訊聊天室情色區g罩杯美女av性愛女生自慰圖成人交友網站色情區丁字褲貼圖成人視訊聊天hi sex台灣十八成人丁字褲自拍太太陰毛火辣美眉成人色情圖片網視訊打槍美女聊天一夜激情一夜情聊天網成人聊天網激情成人聊天室上床圖片火辣情色辣妹聊天美女色情情趣丁字褲亞洲情色論壇情色天空三點全露內衣秀台灣色情網站成人裸照av成人論壇成人文學
成人文學

 
At 3:49 AM, Blogger 香蕉哥哥 said...

Never put both feet in your mouth at the same time, because then you will not have a leg to stand on.............................................

 
At 1:37 AM, Blogger 曉豪 said...

tw18 comsex女優meetic交友a片 168交友eros交友ek21交友104速配網成人 影片sex星野亞希露點星野亞西圖片星野亞西資料星野亞西衣服星野亞西開球星野亞西照片星野亞西無名樣式星野亞西 t-shirt星野亞西 t 恤視訊 辣妹視訊 辣妹台灣情kiss色網aa的滿18歲影片情色視訊交友辣妹no3情色cu成人bt入口愛愛一葉情貼影色站85cc免費影片觀看色情影片情色小說自拍aa免費看sex520 net成人小遊戲美女視訊熟女人影片嘟嘟情人色網拓網交友交友聊天找e爵

 
At 3:11 AM, Blogger 彭志文 said...

忍一時風平浪靜,退一步海闊天空......................................................

 
At 6:36 PM, Blogger RexTemples20144 said...

Nice Post~!!!. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

 
At 2:44 AM, Blogger 0802RicoLisi said...

很高興見到你哦!!. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

 
At 1:23 AM, Blogger 林60102asai_sistrunk said...

廢話不多,祝你順心~^^........................................

 
At 10:10 AM, Blogger 黃k0822oryb_card said...

人間好話,要如海綿遇水牢牢吸住...............................................................

 
At 7:19 PM, Blogger B120ryantScipio1 said...

完成一個小目標,會把自己推向一個大目標.............................................

 
At 6:53 AM, Blogger 韋于倫成 said...

任何事都是由一個決心,一顆種子開始。..................................................

 
At 2:05 AM, Blogger 育德 said...

雖然說上班很累,不過還是得努力應付每一天,看看文章休息一下,謝謝你哦! ..................................................

 
At 5:23 PM, Blogger 展姍展姍 said...

More haste, less speed............................................................................

 
At 4:17 AM, Blogger burtong said...

一個人最大的敵人常是自己。 ............................................................

 
At 3:58 PM, Blogger 誠紋 said...

噴泉的高度,不會超過它的源頭。一個人的事業也是如此,它的成就絕不會超過自己的信念。..................................................

 
At 4:23 AM, Blogger RoseH_Huls21365 said...

要持續更新下去喲!!祝你心情愉快.................................................................

 
At 10:01 PM, Blogger 江婷 said...

一棵樹除非在春天開了花,否則難望在秋天結果。....................................................................

 
At 10:53 AM, Blogger asdas said...

一棵樹除非在春天開了花,否則難望在秋天結果。....................................................................

 
At 11:55 PM, Blogger 于庭 said...

人生是故事的創造與遺忘。............................................................

 
At 5:18 PM, Blogger 王雅筑 said...

人生是故事的創造與遺忘。............................................................

 
At 8:14 PM, Blogger JasonBirk佳琪 said...

Practice what you preach.............................................................

 
At 9:54 PM, Blogger 佩璇佩璇 said...

第一次來這裡 愛上你的部落格 感謝你的分享............................................................

 
At 4:27 AM, Blogger 詹莉emmaagnes莉真 said...

河水永遠是相同的,可是每一剎那又都是新的。..................................................

 
At 7:31 PM, Blogger 吳婷婷 said...

Never hesitate to hold out your hand; never hesitate to accept the outstretched hand of another...................................................................

 
At 4:57 AM, Blogger 建佑建佑 said...

百發百中不是一試就成的。..................................................

 
At 9:51 PM, Blogger 士凱士凱 said...

拒絕冒險和成長的人,終將被生命的潮流陶汰。..................................................

 
At 7:02 PM, Blogger 莊雅和莊雅和莊雅和 said...

生命所經歷的折磨愈多,其所產生的奮鬥力愈大。............................................................

 
At 5:09 PM, Blogger 劉士賢 said...

人類的聰明,並非以經驗為依歸,而是以接受經驗的行程為依歸。..................................................

 
At 6:30 PM, Blogger 凱v胡倫 said...

知識可以傳授,智慧卻不行。每個人必須成為他自己。. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

 
At 9:53 PM, Blogger 盈甄賴賴盈甄賴賴 said...

不錯唷~我會常常來 >"<..................................................................

 
At 10:24 AM, Blogger 建邱勳 said...

Pay somebody back in his own coin...................................................................

 
At 3:01 AM, Blogger 凱v胡倫 said...

Say not all that you know, believe not all that you hear.......................................................................

 
At 3:01 AM, Blogger 冰微 said...

說「吃虧就是便宜的人」,多半不是吃虧的人。......................................................................

 
At 4:54 PM, Blogger 4464 said...

感謝分享~希望有更多的好文章分享給大家..................................................................

 
At 12:04 AM, Blogger 琬群學葉安高 said...

真得很不錯的blog,加油哦............................................................

 
At 12:27 AM, Blogger 佳張張張張燕張張張張張 said...

所有的資產,在不被諒解時,都成了負債............................................................

 
At 7:20 AM, Blogger 瑰潼 said...

謝謝大大分享!!經典!~(。・ω・)............................................................

 
At 7:19 PM, Blogger 王綺廖家堯廖家堯穎 said...

來替你打氣,加油A_A................................................

 
At 2:29 AM, Blogger 惠邱邱邱邱雯 said...

你不能左右天氣,但你可以改變心情............................................................

 

Post a Comment

Links to this post:

Create a Link

<< Home