this post was submitted on 23 Apr 2024
48 points (88.7% liked)
Linux
48655 readers
1989 users here now
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Rules
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
i'm not familiar with rclone. I'm kinda familiar with rsync, but not much so excuse me if i got something wrong,
3 main things that are in lunas but not in rsync
lunas doesn't have as many options as rsync, it still has many tho, u could take a quick look at both of them to compare if you want. But i'm still developing lunas and i wanna make it even more cooler, it's been like over 6 months since i started it, so hopefully more cool stuff come in the future
None of that really matters.
What's your sync algorithm? How are you detecting when a file changes? How do you resolve conflicts? How do you guarantee against data loss?
These are the reasons people use rsync.
quick overview of the syncing algo
in the copying, or filesystem in general, functions, C++ provide methods to check if certain operations were faulty or not, i use these methods combined with checking the return of remote reading/writing if successful or not, if a write or read to a buffer produced an error, syncing to that file stops and it goes to the next file. that file stays named as file.ls.part
lunas doesn't have checksum option, not yet at least i might add it later. so if that is a problem for someone, they could avoid using lunas for now
but i made a seperate program that checks recursively checksums of many input directories which i usually use when needed to check if lunas is working correctly or not
btw just to be clear, as mentioned in the license, --> This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License version 3 for more details. -> https://www.gnu.org/licenses/gpl-3.0.en.html
Some formatting messed up, use a linebreak between words and ---
thx! i learned some markdown and edited my reply. Does it look good now?
You may want
```
Code
```
For codeblocks
And `code` for inline code
Btw the "\" is the escape symbol which you can use to deactivate styles
Thank you!
So this is like "normal", "send only", "recieve only" folders in syncthing?
I took a look at their docs https://docs.syncthing.net/v1.27.5/users/foldertypes
And it seems similar
Src/send-only -> send files to other dest/receive-only
Dest/recieve-only -> doesn't send any file modifications or new files to other directories
Src+dest/normal -> send files to other dest and receives files from other srcs
With the option -D/-diff enabled file modifications can be synced, with newer files replacing older files