All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog.
- Instead of relying solely on
ENV['USER']for replacingUSERwith the actual user (which fails when run incron), an intermediary variableuser(inmain()) is set toENV['USER']first and, if that's empty,x%( whoami ).chompnext.
- "Batch" functionality added; now, you can call
rsync.rb backup main,extra,etcby separating targets with commas.
- Merged functions
join_pathanduse_currentinto a more sensibleupdate_path - Broke some functionality in function
syncintoget_partial_cmd - Moved main script functionality into own function
main
- License
- Repository name changed; the name RubySync already exists as a gem.
- Readme and changelog
yardstyle inline "docstrings"
- Small syntactic changes
syncdefinition:files: nil->files = nilsynccall:files: files->filesSocket::gethostname->Socket.gethostname
- Initial version