Bug#558677: --exclude documented in info coreutils cp but not available in program
Package: coreutils Version: 6.10-6 Severity: wishlist schae...@virtual:~$ info coreutils cp `--exclude=PATTERN' When recursing, skip subdirectories or files matching PATTERN. For example, `du --exclude='*.o'' excludes files whose names end in `.o'. schae...@virtual:~$ cp --exclude=BLAH . /tmp cp: unrecognized option `--exclude=BLAH' Try `cp --help' for more information. -- System Information: Debian Release: 5.0.3 APT prefers stable APT policy: (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 2.6.26-2-openvz-amd64 (SMP w/2 CPU cores) Locale: LANG=C, LC_CTYPE=fr_CH.ISO-8859-1 (charmap=ISO-8859-1) Shell: /bin/sh linked to /bin/bash Versions of packages coreutils depends on: ii libacl1 2.2.47-2 Access control list shared library ii libc6 2.7-18 GNU C Library: Shared libraries ii libselinux1 2.0.65-5 SELinux shared libraries coreutils recommends no packages. coreutils suggests no packages. -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#558677: --exclude documented in info coreutils cp but not available in program
Marc SCHAEFER wrote: schae...@virtual:~$ info coreutils cp `--exclude=PATTERN' When recursing, skip subdirectories or files matching PATTERN. For example, `du --exclude='*.o'' excludes files whose names end in `.o'. Uhm... The coreutils 'cp invocation' node does not include a --exclude option description in 6.10 in Lenny. The above shows up in the 'du invocation' node. Could it be that you are looking at the wrong documentation? I think so. info coreutils 'cp invocation' Bob -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#558677: --exclude documented in info coreutils cp but not available in program
On Sun, Nov 29, 2009 at 01:46:26PM -0700, Bob Proulx wrote: Uhm... The coreutils 'cp invocation' node does not include a --exclude option description in 6.10 in Lenny. The above shows up in the 'du invocation' node. Could it be that you are looking at the wrong documentation? I think so. Yes, I was. Sorry for this stupid mistake. Meanwhile I have implemented what I required with: (cd $THE_DEST find . \( -path ./scratch/news/archive -prune \) -o \( -path ./scratch/news/articles -prune \) -o -print0 | cpio --quiet --link -0 -pd $THE_DEST_LINK) aka a cp -al with excludes Thank you for your prompt response. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org