logoalt Hacker News

emmelaich • today at 12:21 PM • 1 reply • view on HN

old cp didn't have `-a`

Anyway, just use rsync.


Replies

dspillett • today at 1:06 PM

> just use rsync

You still need to specify --archive (or --times for the individual option) to preserve mtime in the target copy.

But yeah, I tend to rsync more than I cp.