GithubHelp home page GithubHelp logo

dacs01 / box-linux-sync Goto Github PK

View Code? Open in Web Editor NEW

This project forked from noiselabs/box-linux-sync

0.0 1.0 0.0 462 KB

Linux client for Box.com

Home Page: http://box-linux-sync.readthedocs.org/en/latest/

License: GNU Lesser General Public License v3.0

Python 100.00%

box-linux-sync's Introduction

box-linux-sync - A naïve Box.com Linux Client

An unofficial attempt to create a Linux synchronization client because Box.com does not provide one.

NOTICE

If your Box sync stopped working please open your /etc/fstab file and update the WebDav URL from https://www.box.com/dav to https://dav.box.com/dav.

Box.com blog post:

On November 15, 2013, we will be transitioning from the current WebDav (https://www.box.com/dav) to a new version (https://dav.box.com/dav) that provides added stability and performance improvements. Please change the URL in any internal apps before November 15 to ensure your users can continue accessing content via WebDav.

Overview

File synchronization is currently done using the WebDAV interface provided by Box.com. There is also a Python API available but I haven't started to mess with it.

Requirements

  • Python 2.7 and up (may work on earlier versions, haven't tested).
  • Davfs2. To install it use:
    • Debian, Ubuntu: apt-get install davfs2
    • Red Hat, SuSE, Fedora: yum install davfs2
    • Gentoo: emerge davfs2
    • ArchLinux: pacman -S davfs2

Installation

$ cd ~/path/of/your/choice
$ git clone git://github.com/noiselabs/box-linux-sync.git

Installation via Pip is not currently available. Let's wait for a proper release, OK?.

Usage

Check environment and setup box-sync and it's dependencies:
$ cd ~/path/to/box-linux-sync/bin
$ ./box-sync check && ./box-sync setup
Edit ~/.noiselabs/box/box-sync.cfg to fit your preferences:
$ vim ~/.noiselabs/box/box-sync.cfg

; box-sync.cfg
[main]

; Path to your Box sync dir. Use a relative path to place this dir
; inside $HOME or an absolute path. Default: Box
box_dir = Box

; Wether to use a WebDAV filesystem to synchronize your local and
; remote files. Default: true
use_davfs = true
Start synchronization via Davfs:
$ ./box-sync start
Stop synchronization:
$ ./box-sync stop
Send box-sync into oblivion when you get tired of it.

This just removes box-sync configuration files and the repository, not your personal Box.com files (unless you have configured the box_sync dir to be inside ~/.noiselabs).

$ ./box-sync uninstall
$ rm ~/path/to/box-linux-sync

License

This application is licensed under the LGPLv3 License. See the LICENSE file for details.

Authors

Vítor Brandão - [email protected] ~ twitter.com/noiselabs ~ blog.noiselabs.org

See also the list of contributors who participated in this project.

Bitdeli Badge

box-linux-sync's People

Contributors

vitorbrandao avatar bitdeli-chef avatar nils-a avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.