Box.com lets you store all of your content online, so you can access, manage and share it from anywhere. Integrate Box with Google Apps and Salesforce and access Box on mobile devices. Some people use it to back up their workstations. Something that is very intriguing for Linux users is the fact that you can directly mount your box.com to a folder on Linux with davfs2. Neat!
1. First thing we need to do is to install davfs2.
For openSUSE 12.3 we will need to add the following repository in order to get it.
# zypper ar http://download.opensuse.org/repositories/filesystems/openSUSE_Factory/ openSUSE_Factory-filesystems2. Once you have added the repository we are now ready to install it.
# zypper in davfs23. Now we will need a place to mount our box.com. I like to put it under my home directory. (md is an alias in SUSE)
Note: change some_user to the user id your using.
# md /home/some_user/box4. Now we will add a line to our /etc/fstab so that it will mount each time we boot our system up. So open your /etc/fstab for editing with your choice of editor and put the following at the bottom.
Note: change some_user to the user id your using.
https://www.box.com/dav /home/some_user/box davfs rw,user,noauto 0 05. Now lets add a line to the bottom of our /etc/davfs2/secrets file. Open your /etc/davfs2/secrets file for editing with your choice of editor and put the following at the bottom.
Note: Make sure to use your email address and password.
https://www.box.com/dav user@email.com password6. Edit the /etc/davfs2/davfs2.conf file and change the following line
# use_locks 1Changed it to this
use_locks 07. Now it is time to mount our box.com to /home/some_user/box . To mount id we will use the following command.
# mount /home/some_user/boxTo show that it is there run these commands:
# mount | grep box
# df | grep box8. Now start using it. rsync something to it or copy something in to it using your favorite desktop environment.
# rsync -avzP somefile.tar.gz /home/some_user/box/Thats all there is to it. Now you can enjoy a client free cloud storage using davfs2 and box.com .
Enjoy!
2 comments:
This maintains the size limit for uploads that Box.com has on personal accounts - 250 MB.
Not sure what mistakes I made. This method does not seem to provide sync ability. While it gave me the same amount of access to files as setting up an network folder in dolphin, I can not save directly to /home/####/Box or the network option through dolphin.
Files opened through your method are read only, and again, I cannot save them back to /home/####/Box, At least with the dolphin network version I can drag file copies into the folder and they sync to the server.
Neither setup seems to pull files from the server unless the individual file is opened. I am looking for a solution that downloads and syncs the data between local folder and server.
Post a Comment