There have been multiple accounts created with the sole purpose of posting advertisement posts or replies containing unsolicited advertising.

Accounts which solely post advertisements, or persistently post them may be terminated.

cyberluna OP , (edited )

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

  • multi directory syncing with src and/or dest for each input directory

u can sync as many directories, locally and remotely, ig as your ram can handle

src input directories -> files are not synced to them, but they sync to other input directories

dest input directories -> files ARE synced to them, but they DON’T sync to other input directories

src+dest input directories -> they do both, files are synced to them, and from them to other input directories

lunas -p dir1 -p dir2 -p dir3 -p dir4 -p dir5 -r user@ip:dir6

all of these dirs should be the same at the end, since -p is src and dest at the same time, same for -r

  • config file -> which many presets could be defined and used very conveniently " lunas -c preset_name"

path : ~/.config/lunas/lunas.conf


<span style="color:#323232;">global{
</span><span style="color:#323232;">
</span><span style="color:#323232;">    resume = on  # resume file syncing if it was interrupted
</span><span style="color:#323232;">
</span><span style="color:#323232;">   progress = on # show progress bar for file syncing
</span><span style="color:#323232;">
</span><span style="color:#323232;">   update = on # check for file mtimes and resync them based on mtime difference. Newer to old
</span><span style="color:#323232;">
</span><span style="color:#323232;">   mkdir = on # make input directories if not there
</span><span style="color:#323232;">
</span><span style="color:#323232;">   compression = on # in remote transfer, zlib is used
</span><span style="color:#323232;">
</span><span style="color:#323232;">}
</span><span style="color:#323232;">
</span><span style="color:#323232;">cool{
</span><span style="color:#323232;">
</span><span style="color:#323232;">   p = /path/to/dir
</span><span style="color:#323232;">
</span><span style="color:#323232;">   r = user@ip:/path/to/dir
</span><span style="color:#323232;">
</span><span style="color:#323232;">   verbose = on
</span><span style="color:#323232;">
</span><span style="color:#323232;">   attributes = atime
</span><span style="color:#323232;">
</span><span style="color:#323232;">}
</span>

command > lunas -c cool

using this command lunas would load what’s in the preset named “cool”, and tries to sync the paths inside them and enable the options. And there is >the special preset called “global” which can always run while using -c preset, or normally using the cli “lunas -p dir -p dir2” this basically lets the user >defined their default options that make sense for them instead of rewriting them in the cli each time

btw lunas can load multiple presets at once

lunas -c cool -c other_preset -c etc

  • sync removal -> to sync remove files from other directories

in case someone wanted to delete a directory or file and don’t want them to be synced back to other backup directories for instance, or want them >removed, they could use sync removal. By default it acts as excluding, unless -cr Y is used, then it should remove them from other input directories, >if found

or --exclude can be used to exclude files without removing them, i’m thinking of maybe adding a .lunasignore file similar to .gitignore to make this >extra convenient

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

  • All
  • Subscribed
  • Moderated
  • Favorites
  • [email protected]
  • random
  • lifeLocal
  • goranko
  • All magazines