From owner-freebsd-questions@FreeBSD.ORG Thu Sep 9 17:52:21 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B793B10656A7 for ; Thu, 9 Sep 2010 17:52:21 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: from mail-iw0-f182.google.com (mail-iw0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 7FDDC8FC12 for ; Thu, 9 Sep 2010 17:52:20 +0000 (UTC) Received: by iwn34 with SMTP id 34so1498466iwn.13 for ; Thu, 09 Sep 2010 10:52:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=vYkNK8v7MUvit4CtC0iHdKS3FyOUQclUPI/SDzHN80U=; b=EeO48SIXxjEFWvKp7XKz6jb0YSFB5mj4MvfHqgLxwG3LKPpsOrry+rABGE8PYZ2G4c je87VcosSSjcRKVhGmQQcksh5fMTV9ocJJwWaiRr4p3JIrUP3cX6qlGmLoCmuk+qGjRz lhzC7MRDbu0pOjNmlPxEaagIGcjHVbuvyRu30= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=kDfJtoairWV8dDw9d2mB61FXYOlmoJDM8+gCGRxUEeijpIke/oFk9hwSCzoylKP0/q Sl30HPWHdrdJJO5IoxoLx1ebdEklmQAXNJlQsB/Jzrly11ixpyUBEZ98SiM3QLummTkO MK0qX/Q2rQUqiE85hhagS+lGTaGsxxJJ9Ma2o= MIME-Version: 1.0 Received: by 10.231.12.139 with SMTP id x11mr11845481ibx.67.1284054740052; Thu, 09 Sep 2010 10:52:20 -0700 (PDT) Received: by 10.231.184.223 with HTTP; Thu, 9 Sep 2010 10:52:19 -0700 (PDT) In-Reply-To: <4C891E66.3010405@qeng-ho.org> References: <4C891E66.3010405@qeng-ho.org> Date: Thu, 9 Sep 2010 13:52:19 -0400 Message-ID: From: Aryeh Friedman To: Arthur Chance Content-Type: text/plain; charset=ISO-8859-1 Cc: FreeBSD Mailing List Subject: Re: how to recursively symlink every file in a dir X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Sep 2010 17:52:21 -0000 Should of mentioned that I was using C as an example we are in fact using Java and the archives in question are jar's On Thu, Sep 9, 2010 at 1:50 PM, Arthur Chance wrote: > On 09/09/10 18:24, Aryeh Friedman wrote: >> >> I want to make it so every file is a seperate symlink in dir2 if and >> only if it is a regular file (not a dir) in dir1... the reason is if >> the file is unchanged then use symlink but I can rm the symlink and >> replace it with a non-symlink: > > cpio -pdl > >