如何與Ubuntu One同步配置文件

Ubuntu One lets you easily synchronize files and folders, but it isn’t clear how to sync configuration files. Using Ubuntu One’s folder synchronization options or some symbolic links, you can synchronize configuration files?across?all your computers.

Ubuntu One使您可以輕松地同步文件和文件夾,但是不清楚如何同步配置文件。 使用Ubuntu One的文件夾同步選項或某些符號鏈接,您可以在所有計算機之間同步配置文件。

The same method should work with other cloud storage synchronization programs, including Dropbox. It also creates an online backup of your important files, so it’s useful even if you don’t have multiple Ubuntu systems.

相同的方法應適用于其他云存儲同步程序,包括Dropbox。 它還會創建重要文件的在線備份,因此即使您沒有多個Ubuntu系統,它也很有用。

Ubuntu One安裝 (Ubuntu One Setup)

If you haven’t set up Ubuntu One yet, you’ll have to set it up before synchronizing files. Click the mail icon on the panel and select “Ubuntu One.”

如果尚未設置Ubuntu One,則必須在同步文件之前進行設置。 單擊面板上的郵件圖標,然后選擇“ Ubuntu One”

Click the “Join Now” button and create an account.

點擊“立即加入”按鈕并創建一個帳戶。

On your other computers, click the “I already have an account!” link and sign in with your existing account.

在其他計算機上,單擊“我已經有一個帳戶! ”鏈接并使用您現有的帳戶登錄。

After you do this, you’ll get a “Ubuntu One” folder in your home folder. All files in this folder are?automatically?synchronized between your computers.

完成此操作后,您將在主文件夾中找到一個“ Ubuntu One”文件夾。 此文件夾中的所有文件將在計算機之間自動同步。

同步配置文件夾 (Synchronizing Configuration Folders)

Configuration folders are hidden by default, so you’ll have to click the View menu in the file manager and select “Show Hidden Files” to see them.

默認情況下,配置文件夾是隱藏的,因此您必須單擊文件管理器中的“查看”菜單,然后選擇“顯示隱藏的文件”以查看它們。

Once you have, you’ll see your?configuration?files. Each begins with a . — this is how files and folders are hidden on Linux.

擁有之后,您將看到您的配置文件。 每個以開頭 —這就是在Linux上隱藏文件和文件夾的方式。

Right-click the folder you want to synchronize, point to the Ubuntu One submenu and click “Synchronize This Folder.”

右鍵單擊要同步的文件夾,指向Ubuntu One子菜單,然后單擊“同步此文件夾”

A green check mark appears on each folder you’re synchronizing.

一個綠色的復選標記出現在您正在同步的每個文件夾上。

From the Ubuntu One window, you can view all your synchronized folders.

在Ubuntu One窗口中,您可以查看所有同步的文件夾。

Before the folder will synchronize, you’ll have to open the Ubuntu One configuration window on your other computers.

在文件夾同步之前,您必須在其他計算機上打開Ubuntu One配置窗口。

You must enable the “Sync locally?” check box on each other computer.

您必須啟用“本地同步? 對方計算機上的”復選框。

Ubuntu One will keep the configuration folder in sync?across?all your computers.

Ubuntu One將使配置文件夾在所有計算機上保持同步。

Of course, you can use this method to synchronize any folder.

當然,您可以使用此方法來同步任何文件夾。

同步單個文件 (Synchronizing Individual Files)

Ubuntu One won’t let you synchronize a single file from the right-click menu. If you try, you’ll see all the options grayed out.

Ubuntu One不允許您從右鍵單擊菜單同步單個文件。 如果嘗試,您會看到所有選項均灰顯。

To synchronize a specific configuration file, you’ll have to move it to your Ubuntu One folder. You can do this with the cut and paste option from the file manager or with the mv command in the terminal.

要同步特定的配置文件,您必須將其移動到Ubuntu One文件夾。 您可以使用文件管理器中的剪切和粘貼選項或終端中的mv命令來執行此操作。

Here, we’ve moved our .bashrc file to the Ubuntu One folder. It no longer exists in our home folder.

在這里,我們已將.bashrc文件移至Ubuntu One文件夾。 它不再存在于我們的主文件夾中。

We can use the ln -s command to create a symbolic link from the file in the Ubuntu One directory to the file’s original location. For our .bashrc example, we’d use the following command:

我們可以使用ln -s命令創建從Ubuntu One目錄中的文件到文件原始位置的符號鏈接。 對于我們的.bashrc示例,我們將使用以下命令:

ln -s /home/howtogeek/Ubuntu\ One/.bashrc /home/howtogeek

ln -s / home / howtogeek / Ubuntu \ One / .bashrc / home / howtogeek

In other words, the syntax is:

換句話說,語法為:

ln -s /path/to/file /original/location

ln -s /路徑/到/文件/原始/位置

Note that you can’t create a symlink and place it in the Ubuntu One directory. Ubuntu One ignores symlinks.

請注意,您無法創建符號鏈接并將其放置在Ubuntu One目錄中。 Ubuntu One忽略符號鏈接。

If you check your home folder after this, you’ll see that there’s now a symbolic link to the file in the Ubuntu One folder.

如果在此之后檢查您的主文件夾,您將看到在Ubuntu One文件夾中現在有一個指向該文件的符號鏈接。

On your other computers, you’ll have to delete the original configuration file and run the same command to create the appropriate symlink.

在其他計算機上,您將必須刪除原始配置文件并運行相同的命令來創建適當的符號鏈接。

You can use this method to synchronize any file at any location. Most of the time it will make more sense to copy the file to the Ubuntu One folder, though.

您可以使用此方法在任何位置同步任何文件。 不過,在大多數情況下,將文件復制到Ubuntu One文件夾更有意義。

翻譯自: https://www.howtogeek.com/108000/how-to-synchronize-your-configuration-files-with-ubuntu-one/

本文來自互聯網用戶投稿,該文觀點僅代表作者本人,不代表本站立場。本站僅提供信息存儲空間服務,不擁有所有權,不承擔相關法律責任。
如若轉載,請注明出處:http://www.pswp.cn/news/279172.shtml
繁體地址,請注明出處:http://hk.pswp.cn/news/279172.shtml
英文地址,請注明出處:http://en.pswp.cn/news/279172.shtml

如若內容造成侵權/違法違規/事實不符,請聯系多彩編程網進行投訴反饋email:809451989@qq.com,一經查實,立即刪除!

相關文章

java 輸入流關閉順序_Java IO流中先關閉輸出流還是先關閉輸入流?為什么?

java中需要手動釋放的資源bai常見的有以下兩個:流相du關資zhi源流相關資源一般遵循:1)先開后關dao,先開的輸入流,再開的輸出流,通過讀取輸入流寫入輸出流中,那么應該先關輸出流,再關輸入流&…

解析Linux操作系統文件目錄

隨著Linux的不斷發展,越來越多的人開始使用Linux,對于那些剛剛接觸的人來說,恐怕最先感到困惑的就是那些“不明不白”的目錄了。如果想熟練使用Linux,讓Linux聽命于自己,就必須掌握這些目錄,下面就以Xteam公…

智能家居設備_您的智能家居設備正在監視您嗎?

智能家居設備In a world where we’re all paranoid about devices spying on us (and rightfully so), perhaps no other devices receive more scrutiny than smarthome products. But is that scrutiny warranted? 在一個我們都對監視設備的人都抱有偏執的世界(理應如此)&a…

Jenkins忘記admin密碼處理方法

1、先找到enkins/config.xml文件&#xff0c;并備份。 此文件位于Jenkins系統設置的主目錄&#xff0c;根據自己的配置情況而定。我的位置如下 /data/temp/jenkins/config.xml2、然后編輯config.xml刪除<useSecurity>true</useSecurity>至</securityRealm>&a…

java讀取excel某個單元格的值_java poi怎么獲取excel單元格的內容

展開全部package edu.sjtu.erplab.poi;import java.io.InputStream&chww.xqy.chain" target"_blank" class"link-baike">FileInputStream;import java.io.FileNotFoundException;import java.io.IOException;import java.io.InputStream;impor…

科研繪圖工具軟件_如何在Windows 10 Mail中使用繪圖工具

科研繪圖工具軟件Microsoft recently released a new feature for the Windows 10 Mail app that lets you convey messages with drawings right inside the body of an email. This is a great way to quickly sketch things like graphs or tables to get your point across…

子元素相對于父元素垂直居中對齊

記個筆記 1. 元素相對于瀏覽器居中 <style>.window-center {/* 將position設置為fixed&#xff0c;使元素相對于瀏覽器窗口定位 */position: fixed;/* 將margin設置為auto&#xff0c;使瀏覽器自動推算元素外邊距 */margin: auto;/* 將上下左右邊距&#xff08;相對于瀏覽…

SQL Server編程(06)觸發器

SQL Server 通過觸發器用來保證業務邏輯和數據的完整性。在SQL Server中&#xff0c;觸發器是一種特殊類型的存儲過程&#xff0c;可在執行語言事件時自動觸發。SQL Server中觸發器包括三種&#xff1a;DML觸發器、DDL觸發器和登錄觸發器。 DML觸發器&#xff1a;執行DML語句觸…

網站運行java_定制化Azure站點Java運行環境(5)

Java 8下PermGen及參數設置在上一章節中&#xff0c;我們定制化使用了Java 8環境&#xff0c;使用我們的測試頁面打印出了JVM基本參數&#xff0c;但如果我們自己觀察&#xff0c;會發現在MXBeans中&#xff0c;沒有出現PermGen的使用數據&#xff0c;初始大小等信息&#xff0…

三階魔方魔方公式_觀看此魔方的自我解決

三階魔方魔方公式Finally: a Rubik’s cube that can solve itself. A maker named Human Controller built it in Japan, and you can see it in action right now. 最后&#xff1a;一個可以解決自身問題的魔方。 一家名為Human Controller的制造商在日本制造了它&#xff0…

pc樣式在ie8中的bug

2019獨角獸企業重金招聘Python工程師標準>>> pc樣式在ie8中的bug 1,box-sizing:border-box: 在ie中,此屬性的使用有限制: (在IE8中&#xff0c;min-width屬性適用于content-box即使box-sizing設置為border-box。 Chrome select在使用時從元素中選擇選項時遇到問…

下載: 蝦米音樂_您所說的內容:如何組織凌亂的音樂收藏

下載: 蝦米音樂Earlier this week we asked you to share your tips, tricks, and tools, for managing a messy music collection. Now we’re back to share so great reader tips; read on to find ways to tame your mountain of music. 本周早些時候&#xff0c;我們要求您…

Django form表單

Django form表單 目錄 普通方式手寫注冊功能 views.pylogin.html使用form組件實現注冊功能 views.pylogin2.html常用字段與插件 initialerror_messagespasswordradioSelect單選Select多選Select單選checkbox多選checkboxDjango Form所有內置字段校驗補充進階 應用Bootstrap樣式…

java 多線程 優先級_java多線程之線程的優先級

在操作系統中&#xff0c;線程可以劃分優先級&#xff0c;優先級較高的線程得到CPU資源較多&#xff0c;也就是CPU優先執行優先級較高的線程對象中的任務(其實并不是這樣)。在java中&#xff0c;線程的優先級用setPriority()方法就行&#xff0c;線程的優先級分為1-10這10個等級…

PyQt5應用與實踐

2015-01-16 19:00 by 吳秦, 69476 閱讀, 5 評論, 收藏, 編輯 一個典型的GUI應用程序可以抽象為&#xff1a;主界面&#xff08;菜單欄、工具欄、狀態欄、內容區域&#xff09;&#xff0c;二級界面&#xff08;模態、非模態&#xff09;&#xff0c;信息提示&#xff08;Toolti…

plex實現流媒體服務器_Plex繼續遠離服務器,提供網絡節目

plex實現流媒體服務器() Plex now offers a “Web Shows” feature in certain versions of their interface, providing access to shows from brands like TWiT, GQ, and Popular Science. Plex現在在其界面的某些版本中提供了“網絡節目”功能&#xff0c;可以訪問TWiT&…

MIME協議(三) -- MIME郵件的組織結構

一封MIME郵件可以由多個不同類型的MIME消息組合而成&#xff0c;一個MIME消息表示郵件中的一個基本MIME資源或若干基本MIME消息的組合體。每個MIME消息的數據格式與RFC822數據格式相似&#xff0c;也包括頭和體兩部分&#xff0c;分別稱為MIME消息頭和MIME消息體&#xff0c;它…

discord linux_最好的Discord機器人來啟動服務器

discord linuxDiscord has an extensive API and good support for bots on their platform. Because of this, there are tons of bots to go around. However, many of them just copy one another’s functionality. We’ve picked out the ones that do it right, and comp…

java獲取前端json數據_java如何獲取前端ajax傳來的json對象

假設使用 jQuery 中的 ajax1. Json 對象前端代碼示例$.ajax({url : http://localhost:8888/demo,type: post,data: {userName:15488779956}success: function(data) {// TODO}})后臺代碼示例RestControllerpublic class Demo {/*** 方法 1 使用 HttpServletRequest 接收* */Req…

版本控制介紹以及常用的版本控制工具

版本控制是指對軟件開發過程中各種程序代碼、配置文件及說明文檔等文件變更的管理&#xff0c;是軟件配置管理的核心思想之一。 編寫一個成熟可用的程序是一個工作量很大的工程&#xff0c;并非我們一次性就可以搞定的工作&#xff0c;所以在開發過程當中需要&#xff1a; 1、 …