Jump to content
  • Advertisement
Sign in to follow this  
mrmrcoleman

Shell scripting question.

This topic is 4259 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hello. Have a directory say ../mozilla/debug_build/dist/bin and I need to copy the contents of this directory to another directory say ../build/xulrunner Currently I am using this line... cp -f -r --verbose ../mozilla/debug_build/dist/bin ../build/xulrunner Unofortunately this just copies the whole bin directory into the xulrunner directory, I need the contents of the bin directory to be copied. Any ideas? Thanks, Mark

Share this post


Link to post
Share on other sites
Advertisement
cp path/to/bin/* path/to/other

For cp, the last argument is the destination, all the other arguments are sources.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!