install
This is a very useful command for copying files with extra functionality,
Change permissions
install -x644 path/to/source path/to/destinationSetting permissions to 644 after copying.
Create directory hierarchies
install -d path/to/source path/to/destinationHere the destination path's directory hierarchies will be created as needed.
Last updated