scp question

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: der.hans
Date:  
Subject: scp question
Am 11. Sep, 2003 schw=E4tzte Kevin Buettner so:

> No, but "scp -r" will. That said, there may still be reasons to prefer
> tar (with ssh) over scp. (E.g, tar may do a better job at preserving
> certain file attributes than scp -rp.)


Yup, --atime-preserve will maintain timestamps on directories. scp, cp and
cpio won't do that.

I'm not sure about rsync, but I think it won't maintain dir timestamps.

I think they all preserve file timestamps and perms just fine, though.

ciao,

der.hans
--=20
#  https://www.LuftHans.com/    http://www.AZOTO.org/
#  "... the social skills of a cow on acid." - der.hans