Copy and overwrite file and auto create sub-directories
sudo mkdir -p /etc/ansible && sudo cp -fr /vagrant/ansible/hosts /etc/ansible/hosts
Written by Shih Oon Liong
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Cli
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#