Skip to content

Instantly share code, notes, and snippets.

@sumitpore
Created February 14, 2019 06:21
Show Gist options
  • Save sumitpore/41cc5847686075e73f9f8c826d738908 to your computer and use it in GitHub Desktop.
Save sumitpore/41cc5847686075e73f9f8c826d738908 to your computer and use it in GitHub Desktop.
Copy files from one location to another without affecting destination's permissions
cp -r --no-preserve=mode,ownership /files/from/folder/* /copy/to/this/destination/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment