فهرست منبع

chown: use the owner and group of a reference file and apply those values to another file

Example:

    chown --reference=foobar.txt *.txt
André König 10 سال پیش
والد
کامیت
754797282e
1فایلهای تغییر یافته به همراه4 افزوده شده و 0 حذف شده
  1. 4 0
      pages/common/chown.md

+ 4 - 0
pages/common/chown.md

@@ -17,3 +17,7 @@
 - change the owner of a symbolic link
  
 `chown -h {{user}} {{path/to/symlink}}`
+
+- use the owner and group of a reference file and apply those values to another file
+
+`chown --reference={{reference-file}} {{path/to/file}}`