Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add command line options --mdate-from --mdate-until #638

Open
gfm-rock-solid opened this issue Aug 31, 2024 · 0 comments
Open

Add command line options --mdate-from --mdate-until #638

gfm-rock-solid opened this issue Aug 31, 2024 · 0 comments

Comments

@gfm-rock-solid
Copy link

gfm-rock-solid commented Aug 31, 2024

Thanks for developing this software. I appreciate it a lot.

This is a feature request, which should be possible to be implement easily.

Add command line options

  • --mdate-after
  • --mdate-before
  • --cdate-after
  • --cdate-before
  • --timezone "UTC"/"CET"/"UTC+x"...

that take a date stamp in format [yyyy-mm-dd][T][HH:MM:SS.SSS]. Default day is today, default time is 00:00:00.000. T is only regarded, if date and time are given. Otherwise simply ignored.

Giving these arguments syncs only files, that had been changed before/after a certain make/change date. All given options are combined via logical AND. Logical OR is reflected by two (or more) runs of rsync.

I stumbled across this, when I wanted to sync my phone to the PC. It can also accelerate the process a lot, if I have some extra information about my system.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant