OT -- BASH
- From: Robert <kerplop (at) sbcglobal.net>
- Date: Thu, 22 Jun 2006 07:21:22 -0500
Can someone explain why this:
find . -depth -print0 | cpio --null -pmd /tmp/test
will copy all files in and below the current directory -and- this:
find . -depth -print | grep -v .iso$ | wc -l
will count all the non-iso files -and- this:
find . -depth -print | grep .iso$ | wc -l
will count *only* the iso files -but- this:
find . -depth -print0 | grep -v .iso$ | cpio --null -pmd /tmp/test
doesn't copy *anything*?
Any suggestions for a work-around would also be most welcome.
_______________________________________________
CentOS mailing list
CentOS (at) centos.org
http://lists.centos.org/mailman/listinfo/centos
- Follow-Ups:
- OT -- BASH
- From: Paul Heinlein <heinlein (at) madboa.com>
- OT -- BASH
- From: James Pearson <james-p (at) moving-picture.com>
- OT -- BASH
- From: "William L. Maltby" <BillsCentOS (at) triad.rr.com>
- OT -- BASH
- From: Rodrigo Barbosa <rodrigob (at) darkover.org>
- OT -- BASH
- From: Mark Belanger <mark_belanger (at) ltx.com>
- OT -- BASH
- From: Rodrigo Barbosa <rodrigob (at) darkover.org>
- OT -- BASH
- From: Les Mikesell <lesmikesell (at) gmail.com>
- OT -- BASH
- From: Jim Wildman <jim (at) rossberry.com>