copy directory into another directory multiple times
Clash Royale CLAN TAG#URR8PPP
up vote
0
down vote
favorite
I'm on a Mac and trying to script out a few things from our build for Xcode. There are dSYM
that are directories that you can inspect with Show package contents
. In my script that gets run after Xcode builds, I try to copy a dSYM to the output directory.
my command is this:
cp -vR "$BUILD_PATH/$CONFIGURATION-$DEVICE_TYPE/$FRAMEWORK.dSYM" "$OUTPUT_FOLDER/$FRAMEWORK.dSYM"
Expanded that would basically look like
cp -vR "$BUILD_PATH/$ANOTHER_FOLDER/MyFramework.framework.dSYM" "$OUTPUT_FOLDER/MyFramework.framework.dSYM"
What happens is I get my dsym folder copied into the dsym folder so it looks like this:
MyFramework.framework.dSYM/MyFramework.framework.dSYM
I can rm -rf
the dSYM before I copy it over, but was more curious if there was another way without removing it and what I was doing wrong. Thanks!
shell-script cp
New contributor
add a comment |Â
up vote
0
down vote
favorite
I'm on a Mac and trying to script out a few things from our build for Xcode. There are dSYM
that are directories that you can inspect with Show package contents
. In my script that gets run after Xcode builds, I try to copy a dSYM to the output directory.
my command is this:
cp -vR "$BUILD_PATH/$CONFIGURATION-$DEVICE_TYPE/$FRAMEWORK.dSYM" "$OUTPUT_FOLDER/$FRAMEWORK.dSYM"
Expanded that would basically look like
cp -vR "$BUILD_PATH/$ANOTHER_FOLDER/MyFramework.framework.dSYM" "$OUTPUT_FOLDER/MyFramework.framework.dSYM"
What happens is I get my dsym folder copied into the dsym folder so it looks like this:
MyFramework.framework.dSYM/MyFramework.framework.dSYM
I can rm -rf
the dSYM before I copy it over, but was more curious if there was another way without removing it and what I was doing wrong. Thanks!
shell-script cp
New contributor
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I'm on a Mac and trying to script out a few things from our build for Xcode. There are dSYM
that are directories that you can inspect with Show package contents
. In my script that gets run after Xcode builds, I try to copy a dSYM to the output directory.
my command is this:
cp -vR "$BUILD_PATH/$CONFIGURATION-$DEVICE_TYPE/$FRAMEWORK.dSYM" "$OUTPUT_FOLDER/$FRAMEWORK.dSYM"
Expanded that would basically look like
cp -vR "$BUILD_PATH/$ANOTHER_FOLDER/MyFramework.framework.dSYM" "$OUTPUT_FOLDER/MyFramework.framework.dSYM"
What happens is I get my dsym folder copied into the dsym folder so it looks like this:
MyFramework.framework.dSYM/MyFramework.framework.dSYM
I can rm -rf
the dSYM before I copy it over, but was more curious if there was another way without removing it and what I was doing wrong. Thanks!
shell-script cp
New contributor
I'm on a Mac and trying to script out a few things from our build for Xcode. There are dSYM
that are directories that you can inspect with Show package contents
. In my script that gets run after Xcode builds, I try to copy a dSYM to the output directory.
my command is this:
cp -vR "$BUILD_PATH/$CONFIGURATION-$DEVICE_TYPE/$FRAMEWORK.dSYM" "$OUTPUT_FOLDER/$FRAMEWORK.dSYM"
Expanded that would basically look like
cp -vR "$BUILD_PATH/$ANOTHER_FOLDER/MyFramework.framework.dSYM" "$OUTPUT_FOLDER/MyFramework.framework.dSYM"
What happens is I get my dsym folder copied into the dsym folder so it looks like this:
MyFramework.framework.dSYM/MyFramework.framework.dSYM
I can rm -rf
the dSYM before I copy it over, but was more curious if there was another way without removing it and what I was doing wrong. Thanks!
shell-script cp
shell-script cp
New contributor
New contributor
New contributor
asked 9 mins ago
Crystal
101
101
New contributor
New contributor
add a comment |Â
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Crystal is a new contributor. Be nice, and check out our Code of Conduct.
Crystal is a new contributor. Be nice, and check out our Code of Conduct.
Crystal is a new contributor. Be nice, and check out our Code of Conduct.
Crystal is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f477375%2fcopy-directory-into-another-directory-multiple-times%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password