Dropbox - A cool filesystem-integrated online space

A place for Ogre users to discuss non-Ogre subjects with friends from the community.
Post Reply
User avatar
nikki
Old One
Posts: 2730
Joined: Sat Sep 17, 2005 10:08 am
Location: San Francisco
x 13
Contact:

Dropbox - A cool filesystem-integrated online space

Post by nikki »

Hey guys!

I just found this service called 'Dropbox'. It basically gives you a folder, anywhere on your computer, that acts like a normal folder: Make folders within it, delete stuff, move in stuff, etc. This folder is then mirrored on the internet. Anywhere else you have a Dropbox folder set up, its automatically synced. Kind of like SVN, but for more 'non geeky' purposes. :) Its a cool way to keep music, photos, program configurations, small code files and other stuff synchronised across all your computers. There's also a 'Public' folder within your Dropbox who's contents are visible to everyone. This way, uploading an image is a simple task of copying it into your Public folder and getting its URL, rather than having to go through Imageshack or something (well, you do have only 2 GB of space in the free plan though). It works on Linux, Windows and Mac, and you can have sync files across all these OSes.

I've found it useful to manage my home directory dotfiles, so that I don't have to mess around too much when I set up a new computer. If you're on Linux and don't use Nautilus (I don't, vifm FTW!), I've written this simple script to get the URL of any file in the Public directory (you have to replace the <your number> part with the appropriate number you get for the URL of any public file, this is constant for all your files):-

Code: Select all

# To get the URL of any file in the Public directory, just add 'https://dl.getdropbox.com/u/<your number>/' 
# before its path within the 'Public' directory. So, <dropbox>/Public/Files/blah.zip would be 
# 'https://dl.getdropbox.com/u/<your number>/Files/blah.zip'.
#
# This script does the above automatically, just run <path to script> <yourfile>
# Replace <your number> with whatever number you see in the URL of a public file through the web interface.

echo "https://dl.getdropbox.com/u/<your number>/`echo \"$1\" | sed 's:.*Public/::'`"
I could've done that using an environment variable or something, but its just a one-time edit and pretty simple, so its fine. ;)

The script is a pretty naive impementation though, it just removes everything leading up to 'Public', so having multiple 'Public's in the filename might mess it up.
User avatar
PolyVox
OGRE Contributor
OGRE Contributor
Posts: 1316
Joined: Tue Nov 21, 2006 11:28 am
Location: Groningen, The Netherlands
x 18
Contact:

Re: Dropbox - A cool filesystem-integrated online space

Post by PolyVox »

Wow, that's seriously cool! I was thinking the other day that there must be a service like this but didn't find one. Integration is clean and simple, and here's a file I just put in my public folder: https://dl.getdropbox.com/u/546021/Test.txt
User avatar
nikki
Old One
Posts: 2730
Joined: Sat Sep 17, 2005 10:08 am
Location: San Francisco
x 13
Contact:

Re: Dropbox - A cool filesystem-integrated online space

Post by nikki »

PolyVox wrote:Wow, that's seriously cool! I was thinking the other day that there must be a service like this but didn't find one. Integration is clean and simple, and here's a file I just put in my public folder: https://dl.getdropbox.com/u/546021/Test.txt
Heh, well it does work alright! Its so cool to have two computers with a Dropbox account on simultaneously, put in a file and see it on the other one.
User avatar
Kencho
OGRE Retired Moderator
OGRE Retired Moderator
Posts: 4011
Joined: Fri Sep 19, 2003 6:28 pm
Location: Burgos, Spain
x 2
Contact:

Re: Dropbox - A cool filesystem-integrated online space

Post by Kencho »

Gotta grab some time to check this myself! :D Nikki, seems moving to tuxland really worked great for you! Thanks for the tip :!:
Image
User avatar
nikki
Old One
Posts: 2730
Joined: Sat Sep 17, 2005 10:08 am
Location: San Francisco
x 13
Contact:

Re: Dropbox - A cool filesystem-integrated online space

Post by nikki »

Kencho wrote:Gotta grab some time to check this myself! :D Nikki, seems moving to tuxland really worked great for you! Thanks for the tip :!:
<3 tuxland. The only downside is TF2 won't work natively. But once I get the new computer, I'll try to get it running in Wine.

However, this is also an advantage. It keeps me away from wasting time with TF2, and only allows me to play at night (which is when I boot into Windows).
User avatar
jacmoe
OGRE Retired Moderator
OGRE Retired Moderator
Posts: 20570
Joined: Thu Jan 22, 2004 10:13 am
Location: Denmark
x 179
Contact:

Re: Dropbox - A cool filesystem-integrated online space

Post by jacmoe »

Don't count on it, though.
Free Accounts

Dropbox allows you to store up to 2 GB free of charge. Dropbox reserves the right to terminate Free Accounts at any time, with or without notice. Without limiting the generality of the foregoing, if a Free Account is inactive for ninety (90) days, then Dropbox may delete any or all of Your Files without providing additional notice.
I have a similar service through my broadband provider which works in a similar way, using java. :wink:

Linux can read NTFS partitions, so sharing files between OSs is really easy. Besides, I usually put my important files on SVN or GIT.

And for backups, nothing beats CloneZilla. :)
/* Less noise. More signal. */
Ogitor Scenebuilder - powered by Ogre, presented by Qt, fueled by Passion.
OgreAddons - the Ogre code suppository.
User avatar
nikki
Old One
Posts: 2730
Joined: Sat Sep 17, 2005 10:08 am
Location: San Francisco
x 13
Contact:

Re: Dropbox - A cool filesystem-integrated online space

Post by nikki »

jacmoe wrote:Don't count on it, though.
Free Accounts

Dropbox allows you to store up to 2 GB free of charge. Dropbox reserves the right to terminate Free Accounts at any time, with or without notice. Without limiting the generality of the foregoing, if a Free Account is inactive for ninety (90) days, then Dropbox may delete any or all of Your Files without providing additional notice.
Woah... Didn't read that. Pretty scary. :( The Dropbox on your computer is actually a local copy, so you should be relatively safe, but this still sucks.
Linux can read NTFS partitions, so sharing files between OSs is really easy. Besides, I usually put my important files on SVN or GIT.
Actually my main reason for using it was not sharing between OSs, but sharing between different computers (laptop, desktop etc.) with very little hassle.
And for backups, nothing beats CloneZilla. :)
Should check that out. :)
User avatar
PolyVox
OGRE Contributor
OGRE Contributor
Posts: 1316
Joined: Tue Nov 21, 2006 11:28 am
Location: Groningen, The Netherlands
x 18
Contact:

Re: Dropbox - A cool filesystem-integrated online space

Post by PolyVox »

nikki wrote:Woah... Didn't read that. Pretty scary. :(
Nah, it makes no difference. Even if they said "we really promise your files are safe!" I'd still go in with the assumption that the company could go bankrupt tomorrow. It's a convienient service, but don't count on it :wink:
Post Reply