From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39906) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1drSRJ-0001dq-NN for guix-patches@gnu.org; Mon, 11 Sep 2017 13:24:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1drSRG-0002Ve-Jt for guix-patches@gnu.org; Mon, 11 Sep 2017 13:24:05 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:53469) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1drSRG-0002VW-G9 for guix-patches@gnu.org; Mon, 11 Sep 2017 13:24:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1drSRG-0000h3-9m for guix-patches@gnu.org; Mon, 11 Sep 2017 13:24:02 -0400 Subject: [bug#28281] [PATCH] gnu: Add os-prober. Resent-Message-ID: Message-Id: <5955a67b.AEAAP2Xyu20AAAAAAAAAAAPmNSgAAAACwQwAAAAAAAW9WABZtsaB@mailjet.com> MIME-Version: 1.0 From: Arun Isaac Date: Mon, 11 Sep 2017 22:53:03 +0530 In-reply-to: <87shftelsx.fsf@gnu.org> References: <20170909171635.7968-1-arunisaac@systemreboot.net> <874lsa900c.fsf@gnu.org> <403302d1.ADkAAC_e-_IAAAAAAAAAAAOzWv8AAAACwQwAAAAAAAW9WABZtWIT@mailjet.com> <87k2165lry.fsf@gnu.org> <5dc91a20.AEAAPzHdNuYAAAAAAAAAAAOzWv8AAAACwQwAAAAAAAW9WABZtcxv@mailjet.com> <87shftelsx.fsf@gnu.org> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 28281@debbugs.gnu.org >>> Would (copy-recursively "/some/directory" destination) work for you? >> >> No, it wouldn't. That would recreate /some/directory at the >> destination. I only want the files inside /some/directory to be copied, >> not /some/directory itself. > > Ah sorry. Then yeah, either ‘scandir’ or ‘find-files’, whichever you > find is the least cumbersome. > > Feel free to push something along these lines! Not sure I follow you. Should I 1. push the patch I sent most recently OR 2. or add a #:recursive? argument to `find-files', and push a patch which uses this new `find-files'? IMO, approach 2 is a better idea, though it could be that we are adding too many keyword arguments to `find-files'. WDYT?