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

rsync exclude files mathing name* pattern #32

Open
mehargags opened this issue Apr 22, 2019 · 4 comments
Open

rsync exclude files mathing name* pattern #32

mehargags opened this issue Apr 22, 2019 · 4 comments

Comments

@mehargags
Copy link

mehargags commented Apr 22, 2019

What would be the correct syntax when using rsync to put files?
For example I want to sync everything in my /backup dir excluding files starting with name "admin..xx" and "tmp..xx"

 --exclude-tag='admin*, tmp*'

Does this look good ? or else please correct me
/usr/local/bin/ydcmd --rsync put /backup disk:/Docs --exclude-tag='admin*, tmp*'

@abbat
Copy link
Owner

abbat commented Apr 23, 2019

--exclude-tag is just marker-filename, not exclude file-mask - if file exists, whole directory excluded. You need to put your admin* and tmp* files to different dir and exclude what dir.

@mehargags
Copy link
Author

oh... so you mean there is no way to actually exclude files/folders from ydcmd ? In that I wish this as a feature request. Had to resort to using rClone which supports proper exclusions.
Thanks

@mehargags
Copy link
Author

Hello Abbat... Could you take out some time to integrate "exclude" files by name / extension feature into YDCMD.

Many thanks

@kanashevskii
Copy link

будет ли внесена это доработка?

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

No branches or pull requests

3 participants