Local file manipulation #205
-
|
What happens when files and folders are modified, added, removed, or moved locally? Can OxiCloud handle this, or is the file system monitored? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
|
OxiCloud runs a file‑system watcher by default - on Linux it uses inotify via the fsnotify package, on macOS FSEvents, and on Windows ReadDirectoryChangesW. When you modify, add, remove, or move a file/folder locally, the watcher emits an event, OxiCloud debounces rapid changes (default 500 ms), translates a move into a delete‑then‑add pair, and queues the corresponding upload/download or metadata update. If the watcher fails (e.g., on some network FS), it falls back to a periodic poll every 30 s, which you can adjust with the |
Beta Was this translation helpful? Give feedback.
OxiCloud runs a file‑system watcher by default - on Linux it uses inotify via the fsnotify package, on macOS FSEvents, and on Windows ReadDirectoryChangesW. When you modify, add, remove, or move a file/folder locally, the watcher emits an event, OxiCloud debounces rapid changes (default 500 ms), translates a move into a delete‑then‑add pair, and queues the corresponding upload/download or metadata update. If the watcher fails (e.g., on some network FS), it falls back to a periodic poll every 30 s, which you can adjust with the
poll_intervalsetting in~/.oxicloud/config.yaml.