News for hackers. Stuff that matters.
Re:Free Client for OneDrive on Linux by jhoward321 on Monday October 10, 2016 @12:04AM (#12674970)
Been using this for months with mixed success. Used to crash all the time but ever since the last update the bugs seem to have been worked out. Great project
Re:Free Client for OneDrive on Linux by atVelocet on Monday October 10, 2016 @02:35AM (#12675432)
Sounds great! Tells me that it works exactly as the Windows version!
Re:Free Client for OneDrive on Linux by morganvachon on Monday October 10, 2016 @05:45AM (#12676072)
Well, this is a command line interface so it's not exactly the same. However, it's quick and easy and scriptable so it definitely gets the job done on Linux.
Re:Free Client for OneDrive on Linux by colemickens on Sunday October 09, 2016 @11:45PM (#12674907)
1. Written in D, neat!

2. If I get a functional OneDrive client for Linux before a functional CLI GoogleDrive client for Linux... I just feel like that says something. And I've used the other "community-provided" GDrive clients and have had problems with all of them.

Re:Free Client for OneDrive on Linux by josteink on Monday October 10, 2016 @02:22AM (#12675390)
> 1. Written in D, neat!

Maybe I'm just the outlier, but I was curious about D until I learned that it was a proprietary language, and not run by the community. At that point, I just left it dead and moved on.

I'm not trying to shit on this project, but I know I would find it troublesome contributing to a project like this, when it's not even certain if I can get the compiler running on my Linux-distro of choice...

Re:Free Client for OneDrive on Linux by skoczymroczny on Monday October 10, 2016 @03:24AM (#12675600)
It is run by a community. The reference compiler isn't fully free, but GDC (compiler with GCC backend) and LDC (compiler with LLVM backend) are free/opensource.
Re:Free Client for OneDrive on Linux by josteink on Monday October 10, 2016 @05:50AM (#12676092)
While there are open compilers, how about the language design and how that evolves?

Is that also handled by the community, or do Walter and Andrei still rule supreme here? Control of the language is IMO much more important than control of a single compiler.

Re:Free Client for OneDrive on Linux by fulafel on Monday October 10, 2016 @12:12AM (#12675001)
Many people seem happy using the Googler-made commandline client: https://github.com/odeke-em/drive
Re:Free Client for OneDrive on Linux by whyagaindavid on Monday October 10, 2016 @04:13AM (#12675769)
Re:Free Client for OneDrive on Linux by Nullabillity on Monday October 10, 2016 @02:19AM (#12675382)
https://aelog.org/kio-gdrive-released/ seems to work fine for me.
Re:Free Client for OneDrive on Linux by pjmlp on Monday October 10, 2016 @07:07AM (#12676329)
Nice to see people using D.

Why a Makefile instead of Dub?

Also why disabling the bounds checking? Have you proven with a profiler that it really produces a noticeable impact for the user?

Re:Free Client for OneDrive on Linux by esalman on Monday October 10, 2016 @01:11AM (#12675179)
Too bad Onedrive for Business is not supported, I have 1TB storage provided by school.
Re:Free Client for OneDrive on Linux by crshmysoul on Monday October 10, 2016 @09:29AM (#12676945)
It really sucks that the OneDrive for Business is a totally different setup. It's like reinventing the wheel rather than just enhancing login options but that's all on MS's side. :/
Re:Free Client for OneDrive on Linux by tw04 on Monday October 10, 2016 @11:26AM (#12677580)
It's a result of two completely different teams creating a project at the same time, so the backend (at least in the past) were completely different. IIRC, onedrive for business originally used sharepoint on the backend, not sure if that's still the case. I'm sure someone from MS could enlighten us.

What I DON'T get is why they don't just pick a winner and move everyone's data over to said winner.

Re:Free Client for OneDrive on Linux by MrFlynn on Monday October 10, 2016 @12:55PM (#12678284)
> IIRC, onedrive for business originally used sharepoint on the backend

Yep, it's still sharepoint on the backend.

Re:Free Client for OneDrive on Linux by wspeirs on Monday October 10, 2016 @09:30AM (#12676952)
You can always check out Datto Drive http://www.datto.com/drive 1TB of free space for a year, then only $10/TB with unlimited users!
Re:Free Client for OneDrive on Linux by oridecon on Monday October 10, 2016 @12:23PM (#12678030)
It's a good idea to always disclose your involvement with that company when posting here about it.
Re:Free Client for OneDrive on Linux by dylz on Wednesday October 12, 2016 @06:46AM (#12691772)
Want to try this but no automated signup? Just request a demo?
Re:Free Client for OneDrive on Linux by hiram112 on Monday October 10, 2016 @02:19AM (#12675384)
Looks good. I'm going to give it a try.

Though I am probably going to bite the bullet and start paying for something with full built in encryption. Obviously this will cost more as Google, OneDrive, etc. take a loss on the storage costs, making it back via data mining, ads, and product upsells.

The proverbial final straw was Windows 10 slide-showing personal pics hijacked from my phone on my start menu at a client site. Who knows if it would happen on the lock screen, too, since they've turned Pro edition, even, into a conumption and ad platform instead of a business class OS.

I have told Android OneDrive to NOT auto upload pics from my phone a least a dozen times, yet it still gives not a shit.

Re:Free Client for OneDrive on Linux by Kipters on Monday October 10, 2016 @02:36AM (#12675437)
You can disable the Photos app Live Tile, so it wont show your pictures on Start
Re:Free Client for OneDrive on Linux by gravypod on Sunday October 09, 2016 @11:39PM (#12674880)
It's good to see people use D where it shines. Congrats.
Re:Free Client for OneDrive on Linux by ubercow on Sunday October 09, 2016 @11:45PM (#12674906)
As someone who's never seen D used before, would you mind elaborating?
Re:Free Client for OneDrive on Linux by gravypod on Monday October 10, 2016 @11:23AM (#12677559)
As a systems language for simple services that needs to interface heavily with C. Basically what Go was meant to be for.
Re:Free Client for OneDrive on Linux by mack73 on Monday October 10, 2016 @03:08AM (#12675553)
I'm a c-sharper and I wanna learn D. It looks nice. But where does it shine?

I'm looking for a language, preferably c like, that optionally has pointers and with a good support for HTTP.

Re:Free Client for OneDrive on Linux by pjmlp on Monday October 10, 2016 @07:05AM (#12676323)
You get to have a C# like language that compiles to native code and offers today what System C# did (which will never be available outside MSR walls) for systems programming.

Plus it has lots of metaprogramming goodies, without the C++ SFINAE craziness.

However it does have the caveat of using an old GC implementation and not much GUI related tools are available.

But for CLI or server side applications on UNIX, if you don't want to wait for CoreRT to become available or not found of Mono AOT, D might be worth a try.

Re:Free Client for OneDrive on Linux by clappski on Monday October 10, 2016 @03:51AM (#12675691)
People generally seem to go for it instead of C++, from what I've heard it's got a cleaner syntax and less (none?) UB.
Re:Free Client for OneDrive on Linux by mark_l_watson on Monday October 10, 2016 @12:12AM (#12674999)
Really nice. I don't program with D but the code is readable. OneDrive, purchased as part of Office 365, is a great desl.
Re:Free Client for OneDrive on Linux by userbinator on Monday October 10, 2016 @01:48AM (#12675295)
It's a curly-brace language with similarities to C/C++/Java, not surprisiing you can understand a lot of it. There's not much in the way of interesting algorithmics going on either; it's what I'd consider "business logic" code that mostly consists of function calls. In fact the code looks quite Java-ish.
Re:Free Client for OneDrive on Linux by nickcw on Monday October 10, 2016 @02:53AM (#12675491)
rclone (http://rclone.org) supports one drive too and runs under Linux.

Like this tool it doesn't support One drive for business though. Microsoft have made it very difficult for open source programs to use one drive for business as far as I can see. It has the most complicated registration procedure I've ever seen - even Microsoft admit it is too complicated!

Re:Free Client for OneDrive on Linux by creshal on Monday October 10, 2016 @04:59AM (#12675940)
It's because OneDrive for business is a completely unrelated tool under the hood with no relation to OneDrive except a deluded manager somewhere feels responsible for both.

Same with Skype and Skype for Business.

Re:Free Client for OneDrive on Linux by baq on Monday October 10, 2016 @08:36AM (#12676680)
i'm not sure about the manager. skype for business doesn't have pretty much anything in common with skype except the name and icon...
Re:Free Client for OneDrive on Linux by greggyb on Monday October 10, 2016 @10:11AM (#12677167)
Even the executable is still lync.exe for Skype for Business.
Re:Free Client for OneDrive on Linux by spangry on Monday October 10, 2016 @06:46AM (#12676274)
rclone is great. Thanks to its use of multi-threading you can download and upload pretty much at line speeds. It would be even better if it provided file-delta type operations, but maybe this is a limitation of OneDrive itself.

I really should put some time aside to write a script I've been thinking about:

1) Poll [somefolder] every 10 seconds (or whatever). Or watch with inotify.

2) On change, wait [5 seconds] and if change remains the same...

3) `borg create [oneDriveRepo]::[somefolder]` (does a delta backup with deduplication and lz4 compression, can be FUSE-mounted, and can be encrypted).

4) rclone -> [oneDriveRepo] -> onedrive.

And the reverse in the other direction I guess.

Re:Free Client for OneDrive on Linux by boduh on Monday October 10, 2016 @02:26PM (#12678914)
This is a limitation of OneDrive indeed as it doesn't support delta sync.
Re:Free Client for OneDrive on Linux by crshmysoul on Monday October 10, 2016 @09:32AM (#12676960)
Well, time to test this out and see if it really is as smooth as advertised but if everything configures right, this might enable me to go back to the 1TB that I get through my work savings.
Re:Free Client for OneDrive on Linux by staticelf on Monday October 10, 2016 @04:24AM (#12675799)
Nice too see an alternative for linux since OneDrive is probably has the best pricing out there. I used to be an SpiderOak customer but has switched to OneDrive since it's better in several ways and half the price for the same storage.

It's nice to have auto-upload for my photos taken on my phone. I wish SpiderOak made their client simpler to use since last time I tried it was kind of confusing GUI even for me as a programmer.

Re:Free Client for OneDrive on Linux by bad_user on Monday October 10, 2016 @06:27AM (#12676225)
OneDrive doesn't do file versioning, which makes it useless for backup. Get a ransomware on your PC then watch in horror as your cloud storage is useless for recovering your files. SpiderOak may have a clumsy UI, but it keeps historical versions of your files. Dropbox keeps versions for a month and they have an add-on for a year. Even Google Drive keeps versions for a month. OneDrive is basically the poorest choice you can make.
Re:Free Client for OneDrive on Linux by akerro on Monday October 10, 2016 @01:52AM (#12675304)
And of course it comes from Microsoft because Microsoft loves Linux!
Re:Free Client for OneDrive on Linux by B1FF_PSUVM on Monday October 10, 2016 @02:34AM (#12675427)
Like (or even more than) countries, corporations have no feelings, they have interests.

Microsoft is now mainly interested in being in Oracle's shoes. I would not be surprised if next year they had a Microsoft Linux, like Oracle has had an Oracle Linux for years now.

(What I would be surprised about is if next year there's an Xbox Two. That's probably the next part of the remaining consumer space to feel the cold.)

Re:Free Client for OneDrive on Linux by mack73 on Monday October 10, 2016 @03:25AM (#12675603)
They went from XBox (0) to 360 to 1. Why would the next number be 2? It should be 4, no?
Re:Free Client for OneDrive on Linux by floopidydoopidy on Monday October 10, 2016 @11:35AM (#12677664)
Embrace!
Re:Free Client for OneDrive on Linux by fuckbicyclists on Monday October 10, 2016 @02:58AM (#12675515)
Why would you want to use a cloud storage service that has blatantly lied to their customers?

https://blogs.office.com/2015/11/02/onedrive_changes/

Re:Free Client for OneDrive on Linux by zyx321 on Monday October 10, 2016 @03:23AM (#12675599)
Yeah, how dare they remove plans that are not profitable for them, giving a 12 month notice, and offering a refund.
Re:Free Client for OneDrive on Linux by pjc50 on Monday October 10, 2016 @05:34AM (#12676042)
I don't know why people keep offering "unlimited" plans on anything, when they should know that someone will keep pushing it until they find out what the limit ought to have been.
Re:Free Client for OneDrive on Linux by zyx321 on Monday October 10, 2016 @07:15AM (#12676357)
It makes sense for some things, when measuring it would be more trouble than it's worth. The first website I ever made was hosted by a two man garage company that offered unlimited* bandwidth.

Even if you've got a measuring system in place, it helps figure out what would be a reasonable limit that works for 99% of your users.

*as long as you don't negatively affect other users.

[dead]
Re:Free Client for OneDrive on Linux by nevex on Monday October 10, 2016 @07:18AM (#12676367)
Neither OwnCloud, nor NextCloud, support OneDrive for external storage as far as I am aware.

https://github.com/owncloud/core/issues/14478

Re:Free Client for OneDrive on Linux by Nullabillity on Monday October 10, 2016 @09:07AM (#12676837)
Yes? The point is to replace all of OneDrive, not just the sync client.
Re:Free Client for OneDrive on Linux by heinrich5991 on Monday October 10, 2016 @06:20AM (#12676199)
It doesn't seem to have client-side encryption. Is that correct?
Re:Free Client for OneDrive on Linux by antocv on Monday October 10, 2016 @09:57AM (#12677093)
If you own your client and your server why do you need encryption?
Re:Free Client for OneDrive on Linux by Chronic9q on Monday October 10, 2016 @06:34AM (#12676242)
Correct