It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Overwrite the



I need to make 1 change where ssh= false should be replaced with ssh=true.

Either way i am also comfortable with Copying the whole content of my existing file with newly created Stash-config.propeties1 .

My purpose here is to when stash stops for hourly backup i need to copy the newly created file overwrite the existing stash-config.prpoerties file when runs.


Could someone please suggest how could these be achieved.

I know it would be simply adding 1 line under file.


Many Thanks,


1 answer

1 accepted

0 votes
Answer accepted

I have got it, just add cp command to overwrite .


cp source file target file --> under

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published in Bitbucket Pipelines

Building a Bitbucket Pipe as a casual coder :  #!/bin/bash source "$(dirname "$0")/" enable_debug extra_args="" if [[ "${DEBUG}" == "true" ]]; then extra_args="--verbose" fi # mandatory variables R...

1,801 views 1 19
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you