Go to file
2023-06-30 00:58:26 +02:00
docs cleaning clone 2023-06-17 15:36:18 +02:00
src add about for the help 2023-06-30 00:58:26 +02:00
.gitignore status test for differences works 2023-06-01 20:41:54 +02:00
Cargo.lock add lastmodified in req props 2023-06-17 16:41:00 +02:00
Cargo.toml minor changes 2023-06-29 23:52:40 +02:00
LICENSE add license 2023-06-30 00:28:58 +02:00
README.md Update README.md 2023-06-30 00:57:32 +02:00

NextSync

A git-like command line tool to interact with Nextcloud.

This is work in progress.

This should work pretty much like git with some adaptations to be more debuggable (for now) and easier to code. There is no history and with that no need to commit, to upload new files you have to add and push them.

Features

  • Cloning
  • Status (only for new and deleted files/folders)
  • Pushing updates (only deletion and addition no changes)
  • Using a .nextsyncignore to ignore files
  • Pulling changes
  • Auth without using env variables
  • Detecting local changes

Usage

For the authentification, I use env variables (USERNAME and PASSWORD), this is temporary.

USAGE:
    nextsync [SUBCOMMAND]

FLAGS:
    -h, --help       Prints help information
    -V, --version    Prints version information

SUBCOMMANDS:
    add       Add changes to the index
    clone     Clone a repository into a new directory
    config
    help      Prints this message or the help of the given subcommand(s)
    init      Create an empty Nextsync repository
    push      Push changes on nextcloud
    reset     Clear the index
    status    Show the working tree status