ä»ã¾ã§ find ã¨çµã¿åããã¦ãã®ã ããã©ãã GNU chown ã 㨠--from ã¨ãããªãã·ã§ã³ããããã¨ã«ãã£ãæ°ã¥ããã 以ä¸ã¯ã«ã¬ã³ããã£ã¬ã¯ããªä»¥ä¸ã®ãã¡ã¤ã«ã§ ææè ã from_user:from_group ãªãã¡ã¤ã«ã®ã¿ææè ãå¤æ´ããããã®ã³ãã³ãã -c ãªãã·ã§ã³ãä»ãã¦å¦çã®æ§åãç»é¢ã«åºããæ¹ãè¯ãããã $ chown -R --from=from_user:from_group to_user:to_group ./ ä»ã¾ã§ã®ããæ¹ã ã¨ãã ããã以ä¸ã®ãããªæãã ãªãã·ã§ã³ã¨ãã¯é©å½ãªã®ã§ããããåä½ããªãã æè¿ãã¹ã³ãã§æµè¡ã£ã¦ããç»é¢ã¯ã¤ã¡ã¼ã¸ã§ã ã¡ã½ããã使ç¨ããã $ find . -type f -user from_user:from_group | xargs chown to_user:to_group å®ã«ã©ãã§ãè¯ããããã¹
{{#tags}}- {{label}}
{{/tags}}