If I use cp
in archive mode e.g
cp -a /my_old_directory/* /new_location/my_new_directory/
to replicate a directory structure and all that is in it.
If I then run the same command again will any changed files be refreshed or over-written or skipped?
(I know rsync
is more advanced at this kind of thing, I'm just curious about cp -a
as I can't find any description of what it actually does in this case.