yadayada / acd_cli

An unmaintained command line interface and FUSE filesystem for Amazon (Cloud) Drive
Other
1.35k stars 165 forks source link

--interval not working? #478

Open RazorII opened 8 years ago

RazorII commented 8 years ago

Do I understand it correctly that the interval command is supposed to update my mount every X seconds? I'm asking because I've got it set to --interval 3600 and my mount has not been updating hourly. Actually it hasn't updated since mounting.

ilmtr commented 8 years ago

Same for me, I have set --interval 600 but it is not updating at all.

yadayada commented 8 years ago

I discourage everyone from using the autosync feature in the first place.

@rippelhans, @5YHgB How did you determine it is not updating? Did you check the debug log?

RazorII commented 8 years ago

I checked if the new files I added to ACD are visible in my mounted folder.

@yadayada if you are discouraging the use of it then how do I get acd_cli to show the new files added to my acd?

yadayada commented 8 years ago

There have been reports of files gone missing after syncing. So, please check the debug output for whether syncing is going on or not.

how do I get acd_cli to show the new files added to my acd?

You should unmount, sync and remount.

RazorII commented 8 years ago

Any easy way to automate unmounting, syncing & remounting?

yadayada commented 8 years ago

Shell scripting.

ilmtr commented 8 years ago

What is the rationale of "I discourage everyone from using the autosync feature in the first place."?

I rather not unmount. How should I know when to safely unmount (automatically) without interfering with a process. I'd like to sync at least every 5 minutes, but more frequently preferably.

Obtaining the delta update more frequently should not be that intensive. If there are not changes the response is practically empty.

RazorII commented 8 years ago

Why have an autosync feature if you @yadayada are discouraging the use of it? I understand if you think it is still too unstable and it needs to be further debugged. But otherwise I find it overall an essential feature for a mounted drive that it has the ability to autosync as @5YHgB pointed out it is not so easy to unmount a drive that is mounted for the purpose of using it actively.

Tythus commented 8 years ago

would a work around be something like make it touch a random file in the folder be effective?

pjpalomaki commented 7 years ago

Has there been any progress on this? I wouldn't mind using unmount, sync & remount via shell script, but more often than not, the mount is being used and won't unmount.. Surely there should be some automatic syncing of the mount point with any new changes?