From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: [PATCH 2/2] gnu: encfs: Update to 1.9. Date: Tue, 13 Sep 2016 23:59:48 +0200 Message-ID: <871t0nqx4b.fsf@gnu.org> References: <1473556426-19703-1-git-send-email-me@tobias.gr> <1473556426-19703-2-git-send-email-me@tobias.gr> <8760q1tess.fsf@gnu.org> <877fag579w.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53493) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bjvkC-0001wH-Hj for guix-devel@gnu.org; Tue, 13 Sep 2016 17:59:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bjvk8-00014Y-Pn for guix-devel@gnu.org; Tue, 13 Sep 2016 17:59:55 -0400 In-Reply-To: (Tobias Geerinckx-Rice's message of "Tue, 13 Sep 2016 20:25:59 +0200") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Tobias Geerinckx-Rice Cc: guix-devel@gnu.org Tobias Geerinckx-Rice skribis: > Ludo', > > On 13/09/16 14:11, Ludovic Court=C3=A8s wrote: >> However, =E2=80=98find-files=E2=80=99 does not include directories in it= s result,=20 >> unless you explicitly ask for it. So probably it should be: >>=20 >> (for-each delete-file-recursively (find-files "internal" "^tinyxml2"=20 >> #:directories? #t)) > > Indeed, thanks. I'll push with the more specific > > (snippet '(for-each delete-file-recursively > (find-files "internal" "^tinyxml2-[0-9]" > #:directories? #t))))) > > unless anyone raises any objections. Otherwise, find-files returns some > matching subdirectories as well (=E2=80=98^tinyxml2-.*/.*/tinyxml2-.*=E2= =80=99) which > delete-file-recursively still tries to delete after the parent is gone. Sounds good! Thanks, Ludo=E2=80=99.