From owner-freebsd-hackers@freebsd.org Thu Aug 30 13:17:58 2018 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7077D109E333 for ; Thu, 30 Aug 2018 13:17:58 +0000 (UTC) (envelope-from wojtek@puchar.net) Received: from puchar.net (puchar.net [194.1.144.90]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "puchar.net", Issuer "puchar.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id C523B7FCF8 for ; Thu, 30 Aug 2018 13:17:57 +0000 (UTC) (envelope-from wojtek@puchar.net) Received: Received: from 127.0.0.1 (localhost [127.0.0.1]) by puchar.net (8.15.2/8.15.2) with ESMTPS id w7UCoO1W026687 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Thu, 30 Aug 2018 14:50:24 +0200 (CEST) (envelope-from puchar-wojtek@puchar.net) Received: from localhost (puchar-wojtek@localhost) by puchar.net (8.15.2/8.15.2/Submit) with ESMTP id w7UCoJN6026684 for ; Thu, 30 Aug 2018 14:50:19 +0200 (CEST) (envelope-from puchar-wojtek@puchar.net) Date: Thu, 30 Aug 2018 14:50:19 +0200 (CEST) From: Wojciech Puchar To: freebsd-hackers@freebsd.org Subject: how to use ftp(1) in batch mode Message-ID: User-Agent: Alpine 2.20 (BSF 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Aug 2018 13:17:58 -0000 i want to delete all say *.foo files on remote ftp server while it's clear how to download file using ftp(1) in batch mode, i cannot figure how to delete files in batch mode without any keyboard interaction. Could you help