bug-coreutils
[Top][All Lists]
Advanced

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

cpio --preserve-modification-time: files but not directories


From: Dan Jacobson
Subject: cpio --preserve-modification-time: files but not directories
Date: Thu, 16 Oct 2003 05:54:19 +0800
User-agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (gnu/linux)

$ cpio --version
GNU cpio version 2.5

Sounds like yours.
Then put bug reporting addresses in --help, man, and info!

$ find *|cpio -dmp /tmp/zzz
$ info cpio
`-m, --preserve-modification-time'
     Retain previous file modification times when creating files.

But not directories! So say so in man and info.
Or better yet, kindly implement it.
Either way, must mention how you treat directories too.
Not everybody agrees that directories are just one type of file and
thus can be silently skipped over in the spec.

No, I didn't try `-a, --reset-access-time' but I suspect the worst.
Mention what you do about directories too there.




reply via email to

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