Using the same local folder for Dropbox and Skydrive
Solution 1
Cloud services will always timestamp their synch folder on your device with the time of their last synchronisation. How exactly they do this may vary from service to service.
If the synch folder is shared between services, the second service will see the date change of the first service as an update and will then go off and try to synchronise.
This can get you into a deadly embrace situation where everything is synchronising all the time.
I find it easier to have a daily run of robocopy (on Windows) to synchronise the two local synch folders. That does mean that you have two copies of everything on your local system but I have put each service's synch folder on a separate local hard drive so there is additional redundancy.
I haven't tried this on a phone so can't say if this is feasible there.
Solution 2
I have done some tests with sharing the same folder on different clouds (One Cloud, Google, dropbox,...)lately. To be honest, it seems to give nothing but problems. In fact, the files seem to be in 'sync mode' all the time and the services take a lot of memory resources. I think the reason is the following: one cloud (f.ex. dropbox) sees a new file and starts synchronising. Once done, it seems that something on the folder or file is modified. The other cloud starts syncing as well. Once done, dropbox sees a change in the file and resyncs. But so does the other cloud when dropbox has synced. So both clouds seem to be syncing all the time.
Related videos on Youtube
MegaBatchGames
Updated on September 18, 2022Comments
-
MegaBatchGames almost 2 years
I am trying to get the value of a key in a JSON object, and the name of the key is in a variable.
var fs = require('fs'); var id = 230345038039; var jsonstuff = var parsedstuff = JSON.parse(fs.readFileSync('./file.json', 'utf8')); console.log(parsedstuff.id);
Expected output: 12
I've tried
parsedstuff.$$id
,parsedstuff.${!id}
andparsedstuff.$id
. None work.Is there a way to do this?
Edit: SOLVED. parsedstuff[id] is what I should be using.
-
Ramhound almost 11 yearsI see no reason pointing Dropbox to a folder called
A service formally known as Skydrive
instead ofDropbox
would cause a problem. -
roryok almost 11 yearsI'm just thinking two cloud based apps will be syncing the folder. I wonder will they interfere with each other or cause any latency or locking issues
-
roryok almost 11 yearsThanks ramhound. The dropbox location can be changed so I'll probably point that to the SkyDrive folder
-
roryok almost 11 yearsno, that doesn't work. You can't choose the folder that Dropbox uses, you can only choose the parent folder that your Dropbox folder resides in
-
Ramhound almost 11 yearsSo place all files in that folder within the Skydrive folder so there is a single folder.
-
roryok almost 11 yearsthen it won't sync to dropbox, as only whats in the dropbox folder will sync. remember I want both services syncing, I'm not just trying to copy from one to the other
-
nhinkle almost 11 years@Ramhound do you mean service formerly known as Skydrive? Or are you implying that there is a casual name other than SkyDrive's formal name?
-
Ramhound almost 11 years@nhinkle I was being funny.. Skydrive is going to get a new name...Yes I made a typo...
-
roryok almost 11 yearshah, I didn't even spot that. Formally it's called SkyDrive, but informally it's known as
that MS dropbox thing-a-ma-yoke
-
Ramhound almost 11 years@roryok - Some people call it NSADrive. Dropbox is going to revise their name to NSABox. That joke could go one for awhile. Yes I was trying to be funny by making a reference to the "Artist Formerly Known as Sting"
-
tumchaaditya almost 10 yearsUnless you have huge data on cloud, one simple trick would be to set up auto-mirroring between skydrive and dropbox folders using some third-party tool
-
-
tucuxi over 10 yearsThis is likely to be highly OS-dependent. The inotify syscall in recent-ish linux kernels, for instance, allows listening for modification vs access without locking issues; and I would guess any cloud client would be using the right ones.
-
roryok over 10 yearsyeah robocopy seems like a better solution, although maybe more often than once a day (on the hour maybe?) Not sure what you mean about trying on a phone as we're talking about desktop clients!
-
roryok over 10 yearsah, yes, I see how that's confusing. I just wanted to shift priority to SkyDrive on the desktop to match up with the phone, as I mostly use Dropbox at the moment