Go to file
2023-08-04 19:17:04 +02:00
docs add timestamp and hash in blob 2023-08-04 16:01:24 +02:00
src fix blob creation and get changes 2023-08-04 19:17:04 +02:00
.gitignore status test for differences works 2023-06-01 20:41:54 +02:00
Cargo.lock creation of a downloader 2023-07-13 23:36:39 +02:00
Cargo.toml creation of a downloader 2023-07-13 23:36:39 +02:00
LICENSE add license 2023-06-30 00:28:58 +02:00
README.md remote diff with new opti remote enumerater 2023-07-21 17:10:57 +02:00

Nextsync

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

This is in working 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
  • Various optimisation

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