• Stars
    star
    284
  • Rank 145,616 (Top 3 %)
  • Language
    Python
  • License
    GNU Lesser Genera...
  • Created over 12 years ago
  • Updated over 5 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Linux client for Box.com

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

MUST READ: DEPRECATION WEB DAV SUPPORT JANUARY 31, 2019

If you are connecting to Box using a WebDAV client, you will see connection errors and will no longer be able to view or access your content on Box through your WebDAV client. Box recommends that customers currently using WebDAV migrate to an alternative Box tool at their earliest convenience.

For more information please visit: http://bit.ly/WebDavBoxDeprecated2019 and for more information on current status: http://bit.ly/BOXwebdav2019


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

More Repositories

1

SmartyBundle

Smarty3 template engine bundle for Symfony
PHP
51
star
2

NoiselabsNuSOAPBundle

Symfony2 bundle for NuSOAP - SOAP Toolkit for PHP
PHP
21
star
3

byonn

Build Your Own Neural Network (with PHP!)
PHP
20
star
4

configparser.php

A configuration file parser for PHP 5.3 heavily inspired by Python's configparser library.
PHP
8
star
5

ghost-base

A Dockerized environment ready for developing and deploying Ghost applications
Shell
6
star
6

noiselabs-php-toolkit

A collection of PHP5.3 classes to use in your projects
JavaScript
6
star
7

overlay

noiselabs's Gentoo Linux overlay
Shell
4
star
8

SmartyPlugins

Smarty Plugins Repository
4
star
9

ghost-docker-dev

Docker image for theme development with Ghost 1.5+
Shell
2
star
10

zf-debug-utils

Console commands and other utilities for debugging ZF2 apps
PHP
2
star
11

noiselabs.org

noiselabs.org website
PHP
2
star
12

SuperTank-NES

Remake of NES Super Tank (Battle City) for Android
2
star
13

ebin

An emerge-based tool to make the installation of binary packages in Gentoo Linux easy and reliable
JavaScript
2
star
14

NoiselabsCountryBundle

List of all countries with names and ISO 3166-1 codes in all languages and data formats (Symfony2 bundle for umpirsky/country-list).
PHP
2
star
15

zf-test-case-behat-extension

Integration testing for ZF MVC applications in Behat by exposing Zend\Test classes (originally built for PHPUnit)
PHP
2
star
16

symfony-smarty-edition

The Symfony Smarty Edition is a sandbox for testing SmartyBundle features
PHP
1
star
17

terradry

A configuration tool to keep your Terraform/Terragrunt code DRY
1
star
18

countries.php

Countries is a collection of all sorts of useful information for every country in the ISO 3166 standard (Ruby port)
1
star
19

platform.php

Access to underlying platform's identifying data (Python port)
PHP
1
star
20

smarty

Smarty PHP Template Engine (full svn history and SmartyBundle patched)
PHP
1
star
21

ppi-docs

The PPI Framework documentation
JavaScript
1
star