On Wed, Mar 24, 2004 at 07:11:33PM +0100, Andre Majorel wrote: > I'd like to make an RPM from a hierarchy, excluding certain files. > Are there any inconvenients to doing it from a hierarchy of hard > links to the original hierarchy ? > > find original-tree ! -name "name-i-don't-want" \ > | cpio -pdlm clean-tree Maybe this: cp -al original-tree clean-tree # now remove names you don't want Note that this is of course only possible when both trees are in the same filesystem. -- -- Jos Vos <jos@xxxxxx> -- X/OS Experts in Open Systems BV | Phone: +31 20 6938364 -- Amsterdam, The Netherlands | Fax: +31 20 6948204 _______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/rpm-list