coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 0/1] copy: allow --attributes-only to work with directories


From: Vladimir Panteleev
Subject: [PATCH 0/1] copy: allow --attributes-only to work with directories
Date: Wed, 7 Feb 2018 08:53:40 +0000

Hi,

Any reason why cp's --attributes-only flag can't be used to copy
directory properties?

I've attached a patch (+ test) that enables this. It works for me and
passes the test suite, FWIW.

Vladimir Panteleev (1):
  copy: allow --attributes-only to work with directories

 src/copy.c                | 64 ++++++++++++++++++++++++++---------------------
 tests/cp/dir-attr-only.sh | 32 ++++++++++++++++++++++++
 2 files changed, 67 insertions(+), 29 deletions(-)
 create mode 100755 tests/cp/dir-attr-only.sh

-- 
2.16.1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]