A simple CLI/GUI frontend for rsync.
The main feature of the application (besides serving as a frontend) is that it enables the user to choose which files/directories to delete from the destination if they're missing from the source (native rsync can be used with the --delete option which deletes all the missing files/directories).
Developers are welcome to fork this repository.
Contents:
Requirements: git, python3, pipenv, rsync
- Open a terminal in the directory where you want to install arXive (e.g.
~/bin) - Clone the repository:
git clone https://github.com/gaaldvd/arxive.git - Run the setup script:
sh setup.sh
Start arXive from the terminal with the following command:
arxive -c|-g|-u [-n] <PATH/TO/SOURCE> <PATH/TO/DESTINATION>
The -c option starts the application in CLI mode (use -g for GUI mode) and the optional -n toggles no-interruption mode (in this case the script won't prompt the user for anything and all the deletions from the source will be deleted from the destination - so just like rsync with the --del option).
For example: arxive -c /home/me/here /remote/there
After this arXive lists the deletions (the files and directories that are deleted from the source but present on the destination) and prompts the user what to do with the these (delete all, none or prompt for each). Finally the synchronization runs and the session is done.
The session log (session.log in the installation directory) contains details and error messages.
Start arXive from the Application Menu or from the terminal with the -g option. There is no no-interruption mode in the GUI mode!
- Set source directory
- Set destination directory
- Use defaults (source, destination and options)
- View session log
- Update
- Configurations (default source, destination and options)
- About
- Exit
Default source and destination directories as well as the default rsync options can be set in the configurations window (6).
After setting the directories use the 'List deletions' button, tick the files and directories you'd like to delete from the destination, then 'Run sync'!
- Start the application from the terminal with the
-uoption:arxive -u - Follow the prompts to update the environment and/or the repository
There is also an 'Update' button on the GUI toolbar (5).
Any error can be reported through e-mail with the exact error message and/or screenshot. Alternatively, an issue can be opened.
