以root身份保存所有权移动文件linux

操作系统:Debian。 我希望能够以root用户身份和命令行方式移动文件和文件夹,而不必更改其所有者和组。 这可能吗?

rsync:

-A, --acls preserve ACLs (implies --perms) -X, --xattrs preserve extended attributes -o, --owner preserve owner (super-user only) -g, --group preserve group --devices preserve device files (super-user only) --specials preserve special files 

男人rsync

mv命令保留所有权和时间戳。 对于cp命令,可以使用各种命令行选项。 例如

 cp -p file1 file2 

man cp将显示所有可用的选项