From owner-freebsd-questions@FreeBSD.ORG Sun Mar 10 01:58:59 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 608BABF9 for ; Sun, 10 Mar 2013 01:58:59 +0000 (UTC) (envelope-from lfsxs0@gmail.com) Received: from mail-ye0-f169.google.com (mail-ye0-f169.google.com [209.85.213.169]) by mx1.freebsd.org (Postfix) with ESMTP id 17FFE683 for ; Sun, 10 Mar 2013 01:58:58 +0000 (UTC) Received: by mail-ye0-f169.google.com with SMTP id r10so468440yen.28 for ; Sat, 09 Mar 2013 17:58:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:sender:date:from:to:subject:message-id:references :mime-version:content-type:content-disposition:in-reply-to :user-agent; bh=ZS1X6lKKMi12r5qlRBjTALklYfgSXBi9XeNiYCPDRrU=; b=oB04Q1ylZO/+aE2mMfrihXjTE9eO9KzbaT7VpQsdECRs1Y+ee+8p9vElMYqMMuzoMf yaVXWJrymmOf7t8b7n0lN3xV2CBtqZ4CSpAVwnwOpkMtpEGCUelpnm6g9U0bVmZvBYky aQq7LdN5+MJSq9Qy7T01N5/kO/FekSp6j39jthWZtxuSOZdvx8tMr4BbE2eR9/YD38BL y+3P3jEBIFxRRfrDrvBRW1mKi9OuPIF5YjNhj+zf9zV0RoXxFzFYavjIKVX+Jb8dJi3L qaS8W3jPNIYKaTXryyFLKJdRSpJ9uH67RFYBgCZZYmu1dqwldWhh8gBtmRhO71Z3iAZM xLZA== X-Received: by 10.236.71.228 with SMTP id r64mr2235450yhd.56.1362880380897; Sat, 09 Mar 2013 17:53:00 -0800 (PST) Received: from localhost ([189.101.219.171]) by mx.google.com with ESMTPS id q26sm16438626yhl.22.2013.03.09.17.52.57 (version=TLSv1 cipher=RC4-SHA bits=128/128); Sat, 09 Mar 2013 17:53:00 -0800 (PST) Sender: =?UTF-8?Q?Lu=C3=ADs_Fernando_Schultz_Xavier_da_Silveira?= Date: Sat, 9 Mar 2013 22:52:47 -0300 From: =?iso-8859-1?Q?Lu=EDs?= Fernando Schultz Xavier da Silveira To: freebsd-questions@freebsd.org Subject: Re: How to know % of read file in cat? Message-ID: <20130310015247.GA2681@g470> References: <20130309105400.b181e12aa222502974715a1b@yahoo.es> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20130309105400.b181e12aa222502974715a1b@yahoo.es> User-Agent: Mutt/1.5.21 (2010-09-15) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Mar 2013 01:58:59 -0000 You might want to try the sysutils/pv port, which is a small program that works like cat, but provides a progress bar. On Sat, Mar 09, 2013 at 10:54:00AM +0100, Eduardo Morras wrote: > > Hello, > > I use cat to read a file and pass it to another app, the command is this: > > camibar% cat file.git | fossil import --git file.fossil > > It takes a lot of time, file.git is 12GB, and i want to know if there's some 'magic' trick can I use to show me how many bytes or the % of the file.git cat sent to the other app. > > Maybe cat isn't the correct tool? > > Thanks. > > > --- --- > Eduardo Morras > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >