Working with ownCloud on Ubuntu

For the past couple of months, I have been working with ownCloud . For those who do not know, ownCloud is a program that you can run on top of a web server to create your own cloud.  For anyone who is running their own website, this package is a must.

This post is not how to get your personal cloud started, but more of a list of items I have found while working with this software. For now, this is a work in progress.

  1. Adding further directories to sync with ownCloud
    I am working on Ubuntu 14.04 at the moment, but I hope this is similar for all platforms. This assumes you have the ownCloud client installed on your computer.

    $ sudo apt-get install owncloud-client
    

    All your ownCloud local settings will be found in the following path:

    /home/$USER/.local/share/data/ownCloud
    

    By default, it will sync all files placed in /home/$USER/ownCloud. This is set by the file /home/$USER/.local/share/data/ownCloud/folders/ownCloud. So say you want to have another path on your current system automatically sync to your ownCloud. Just create a new file in /home/$USER/.local/share/data/ownCloud/folders, or edit the current file. Using pictures as an example, I added the following:

    [Pictures]
    localPath=/home/$USER/Pictures
    targetPath=/photos
    backend=owncloud
    connection=ownCloud

    Now my picture path is syncing to /photos on my ownCloud!

Leave a Reply

Your email address will not be published. Required fields are marked *

*