Skip to content
This repository has been archived by the owner on Jul 12, 2022. It is now read-only.

mbrt/ruplicity-console

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ruplicity-console

Build Status Build status

Command line interface for ruplicity.

Installation

Starting from Rust 1.5:

cargo install ruplicity-console

Windows user can download pre-built binaries for convenience in the releases section. For those, Visual C++ 2015 redistributable binaries are needed. If you don't have them, you can download them in Visual Studio Downloads, under the "Tools for Visual Studio 2015" section.

Usage

Only backups present in the local file system are supported for now.

Suppose you have a duplicity backup stored in /media/foo/backup/. You can have informations about the backup by using:

ruplicity-console info /media/foo/backup

And list the files for the last snapshot by using:

ruplicity-console ls /media/foo/backup

You can specify which snapshot to list by using the -i option with the desired snapshot index:

ruplicity-console ls -i 0 /media/backup

shows the files for the first backup snapshot. If you want to know the index for some snapshot use ruplicity-console info.

License

This crate is licensed through GPL-2.0. Why?

  • The core functionality is already licensed under MIT, because it is exposed trough ruplicity crate, so you can use it in whatever form you want (even closed source projects).
  • This crate however provides a "product", and not a library, so I don't want anyone to fork it and close the sources (it could be possible with MIT license). Anyone is still free to use, contribute and modify it in whatever form they want. The only restriction is that they cannot change the license or integrate it in non-GPL projects;
  • The GPL license is not compatible with the Rust license, but since there is no reason in integrate this crate into the standard distribution, there is no point in make it compatible.

About

Command line interface for ruplicity

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages