cp command not working in Bash Script in build pipeline of azure devops

0 votes

To copy the folder with multiple files to another folder in the build pipeline I use:

cp -R -v pathToSourceFolder pathToDestFolder

cp -R -v   /Users/runner/runners/2.166.4/work/1/s/en.lproj/  /Users/runner/runners/2.166.4/work/1/s/platforms/ios/AppName/Resources

But getting error with exit code 126:

usage: cp [-R [-H | -L | -P]] [-fi | -n] [-apvXc] source_file target_file
       cp [-R [-H | -L | -P]] [-fi | -n] [-apvXc] source_file ... target_directory

Any help would be appreciated.

Apr 22 in Other DevOps Questions by Kichu
• 19,040 points
463 views

No answer to this question. Be the first to respond.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.

Related Questions In Other DevOps Questions

0 votes
1 answer

Command not working in .bat script but works in CLI

powershell /? If you run the above command ...READ MORE

answered Jul 19, 2018 in Other DevOps Questions by ajs3033
• 7,280 points
889 views
0 votes
0 answers
0 votes
0 answers
0 votes
0 answers
0 votes
0 answers
0 votes
0 answers
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP