Copying a directory in linux while preserving permissions
Continuing on with my attempts to blog code and command snippets that I've found useful, Here's a trick if you need to copy a directory recursively, but retain all the permissions set on the first one. I needed this to back up a web app tree that had custom permissions set through out that I didn't want to mess up...
cp -a /source_dir /destin_dir
Post A Twitter Response To This Blog Post

To: @mattccrampton

0