The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
When building, I get 2 distinct folders that I need to copy to the server environment. I need to copy them in specific places and I cannot copy the whole parent folder.
Is there a way to specify to copy 2 different folders to 2 different locations in rsync-deploy?
Or just invoke it 2 times?
Thanks,
Jure
Can you explain how this relates to Jira?
As for the rsync: are both folders in the same parent directory? And you want to copy only those 2 folders to a same parent directory on the target. Did I get that right?
It's probably easier to perform 2 separate rsync commands.
Or you could use the --include option and specify te folders you do want to sync . See the man page.
Something like: rsync --include='folder1' --include='folderB' <your other options>
Hello @Charlie Misonne
thanks for your answer. It does not relate, however, I did not find bitbucket related community :( Sorry.
No, they are not in the same parent folder.
I ended up using 2 rsync commands without "deployment" tag, so I could copy twice to the same staging server.
Thanks for the idea, appreciate it.
Rgds,
Jure
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
👋 Hi there Jira Community! A few months ago we shared with you plans around renaming epics in your company-managed projects. As part of these changes, we highlighted upcoming changes to epics on...
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.