Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding an option for non empty directory #73

Closed
hdavy2002 opened this issue May 31, 2014 · 3 comments
Closed

Adding an option for non empty directory #73

hdavy2002 opened this issue May 31, 2014 · 3 comments
Labels

Comments

@hdavy2002
Copy link

Hello folk,

I have some directories that are not empty and I need to mount them. I get an error and I get an option to add '-o nonempty' to my command, however it does not work for me.

I checked the options for google-drive-ocamlfuse and there was nothing in there for nonempty dir.

Is there any other way to get around this?

Best

@astrada
Copy link
Owner

astrada commented Jun 2, 2014

-o nonempty should work. Do you still get an error adding it?

@vvcares
Copy link

vvcares commented Mar 2, 2017

Hi. I used "google-drive-ocamlfuse -label myname /home/gdrive -o nonempty".
But this command deleting my existing files .

Is there a way to not delete but sync all together.?

@astrada
Copy link
Owner

astrada commented Mar 2, 2017

Hi. I used "google-drive-ocamlfuse -label myname /home/gdrive -o nonempty".
But this command deleting my existing files .

Not really. Your files are temporarily hidden by the mounted file system. When you unmount it, they will be available again.

Is there a way to not delete but sync all together.?

No, you cannot merge an existing directory (on your local file system) with a FUSE file system. This is actually not a sync application, but it gives you a local view of your remote files on GDrive.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants