From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50194) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1drBmj-0004jF-D5 for guix-patches@gnu.org; Sun, 10 Sep 2017 19:37:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1drBmg-0001XZ-A3 for guix-patches@gnu.org; Sun, 10 Sep 2017 19:37:05 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:51289) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1drBmg-0001XF-75 for guix-patches@gnu.org; Sun, 10 Sep 2017 19:37:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1drBmf-00055K-U3 for guix-patches@gnu.org; Sun, 10 Sep 2017 19:37:01 -0400 Subject: [bug#28281] [PATCH] gnu: Add os-prober. Resent-Message-ID: Message-Id: <24e1529f.AEAAPzHdNuUAAAAAAAAAAAPmNSgAAAACwQwAAAAAAAW9WABZtcxv@mailjet.com> MIME-Version: 1.0 From: Arun Isaac Date: Mon, 11 Sep 2017 05:05:54 +0530 In-reply-to: <87k2165lry.fsf@gnu.org> References: <20170909171635.7968-1-arunisaac@systemreboot.net> <874lsa900c.fsf@gnu.org> <403302d1.ADkAAC_e-_IAAAAAAAAAAAOzWv8AAAACwQwAAAAAAAW9WABZtWIT@mailjet.com> <87k2165lry.fsf@gnu.org> Content-Type: text/plain Content-Transfer-Encoding: quoted-printable 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 >> I am trying to do >> >> cp -r /some/directory/* destination >> >> To do this, I used `find-files-non-recursive' to get all files in >> /some/directory/ and applied `copy-recursively' on each one of them. >> >> Do you have a better way of doing this in mind? > > 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. =