You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.
View groupJoin the community to find out what other Atlassian users are discussing, debating and creating.
I'm getting this error when i'm using rsync's `--exclude-from` option.
rsync: failed to open exclude file "./ignorelist.txt": No such file or directory (2)
rsync error: error in file IO (code 11) at exclude.c(1207) [client=3.1.3]
Here's my pipeline script:
branches:
develop:
- step:
script:
- ls -la
- pipe: atlassian/rsync-deploy:0.4.3
variables:
USER: $REMOTE_USER
SERVER: $REMOTE_HOST
REMOTE_PATH: $REMOTE_DIR
LOCAL_PATH: './'
DEBUG: 'true'
EXTRA_ARGS: '-avzh --exclude-from="./ignorelist.txt"'
Using `ls -la` i can clearly see the the ignorelist.txt file does exists.
---
On a side note, is it just me, or i really cannot paste multi-line code? The white space always got trimmed.
Hello @rzky ,
Best regards, Galyna
Turns out it's a syntax problem. Removing the quotes from the `--exclude-from` param fixes the problem.
So, from this:
-avzh --exclude-from="./ignorelist.txt"
To this:
-avzh --exclude-from=./ignorelist.txt
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@rzky Please mark the question as answered.
Just for reference: Similar issue/solution in Way to use "---include-from" in rsync deploy , quotes were as well the issue finding the file.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
...hey are a part of us, shaping how we interact with the world around us. The same holds true for programming languages when we think about how different kinds of vulnerabilities raise their heads in t...
Connect with like-minded Atlassian users at free events near you!
Find an eventConnect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.
Host an eventYou're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.