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

Disable veto file #252

Closed
Rhyscoch opened this issue Nov 6, 2019 · 5 comments
Closed

Disable veto file #252

Rhyscoch opened this issue Nov 6, 2019 · 5 comments
Assignees

Comments

@Rhyscoch
Copy link

Rhyscoch commented Nov 6, 2019

Hi!
With veto file option rsync on osx not work correct. Need option to disable add veto file to all shares.
Thank you.

@dperson dperson self-assigned this Nov 6, 2019
@dperson
Copy link
Owner

dperson commented Nov 6, 2019

Edit the generated file by hand.

@dperson dperson closed this as completed Nov 6, 2019
@sam2kb
Copy link

sam2kb commented Dec 28, 2019

We really need an option to disable veto files through ENV. You can make the ENV default to whatever values it is currently adding to the config.

This particular veto filter skips a whole lot of legit files ._*

dperson pushed a commit that referenced this issue Mar 20, 2020
@dperson
Copy link
Owner

dperson commented Mar 20, 2020

Okay you can set an environment variable VETO to no and you won't have vetoed files on any of your shares.

@mabelisle
Copy link

mabelisle commented Mar 20, 2020

Okay you can set an environment variable VETO to no and you won't have vetoed files on any of your shares.

I was using the parameters:
-g "veto files = /._*/.DS_Store/"
-g "delete veto files = yes"

But now I get /usr/bin/samba.sh: line 108: VETO: unbound variable

What was the change and how do I fix it?

Update: So from what I see from the code, these parameters were already there by default so if I just remove the 2 parameters they should be added by default unless I use -e VETO="no"?

@dperson
Copy link
Owner

dperson commented Mar 20, 2020

Doh! sorry for the fat-finger.

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

4 participants