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

Revision File #39

Closed
loicbisiere opened this issue Dec 2, 2013 · 3 comments
Closed

Revision File #39

loicbisiere opened this issue Dec 2, 2013 · 3 comments
Milestone

Comments

@loicbisiere
Copy link

Hi,
When I move/copy (with "mv" or "cp -rf" command) a file from a local directory to my gdfuse mount, if this file (same file name) exists, it is deleted (moved to trash) and a new version is created. Is it possible that instead of creating a "new file", I get a "new revision file" for the original file ?

When I used the cp command I get this error :
"cp: impossible de créer le fichier standard «/mnt/gdrive/log.txt»: Périphérique ou ressource occupé" (cp: can not create regular file "/ mnt / GDrive / log.txt": Device or resource busy)

Thank you.

@astrada
Copy link
Owner

astrada commented Dec 2, 2013

Is it possible that instead of creating a "new file", I get a "new revision file" for the original file ?

I think it's possible, but I have to do some testing to verify if it's feasible. I'll let you know if I manage to implement this feature.

@loicbisiere
Copy link
Author

Thank you very much for your excellent job !

astrada added a commit that referenced this issue Dec 8, 2013
* Truncate file locally and mark it ToUpload
* Use new_revision option
@loicbisiere
Copy link
Author

Thank you ! The new revision mode works very well.

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

No branches or pull requests

2 participants