From 754797282e2e9e78345492a6d23f461d86f9c129 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20K=C3=B6nig?= Date: Mon, 18 Aug 2014 12:45:43 +0200 Subject: [PATCH] chown: use the owner and group of a reference file and apply those values to another file Example: chown --reference=foobar.txt *.txt --- pages/common/chown.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pages/common/chown.md b/pages/common/chown.md index dbab206103..4bbc69dd95 100644 --- a/pages/common/chown.md +++ b/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}}`