CentOS 権限と所有者を維持しファイルコピー

Share on Facebook0Share on Google+0Tweet about this on TwitterShare on LinkedIn0

[root@foo default]# cp -pR ./old/* ./html

-p でパーミッション維持

-R でディレクトリ以下も再帰的にってことか。

Share on Facebook0Share on Google+0Tweet about this on TwitterShare on LinkedIn0

あわせて読みたい

Fatal error: Uncaught Exception: 12: REST API is deprecated for versions v2.1 and higher (12) thrown in /var/www/junkpot.net/tech/html/wp-content/plugins/seo-facebook-comments/facebook/base_facebook.php on line 1273