From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1GmF9G-0003Lk-9d for garchives@archives.gentoo.org; Mon, 20 Nov 2006 19:49:46 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.8/8.13.8) with SMTP id kAKJkBFK024420; Mon, 20 Nov 2006 19:46:11 GMT Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.186]) by robin.gentoo.org (8.13.8/8.13.8) with ESMTP id kAKJgq8g028034 for ; Mon, 20 Nov 2006 19:42:52 GMT Received: by nf-out-0910.google.com with SMTP id c31so4235546nfb for ; Mon, 20 Nov 2006 11:42:52 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=X2LxCpcB8w0tbxZtolY82hoELM05PAWxgPbPdjHOYukiqy7TpZcyLk3mGhP2IhaQnnjJkid5C0a4TX+OXvp5VJU3fJ+AClmzBSAU98hoBvNglqt7b6t+eY5WFG9/ST2NlJOpZmYR+PJ0pX2A6LJEmjGeF28oxeoePtDIDOFoUkw= Received: by 10.82.126.5 with SMTP id y5mr714759buc.1164051771936; Mon, 20 Nov 2006 11:42:51 -0800 (PST) Received: by 10.82.140.3 with HTTP; Mon, 20 Nov 2006 11:42:51 -0800 (PST) Message-ID: <169ffc030611201142k3c6b46eei2a339eb9948ed911@mail.gmail.com> Date: Mon, 20 Nov 2006 19:42:51 +0000 From: Mark To: gentoo-user@lists.gentoo.org Subject: Re: [OT] Progress bar for cp? (was:[gentoo-user] PATH error?) In-Reply-To: <45620250.2070605@tarpman.homelinux.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200611192041.42498.michaelkintzios@gmail.com> <200611191516.00772.bss03@volumehost.net> <45620250.2070605@tarpman.homelinux.com> X-Archives-Salt: 0c8037fe-0bd6-472a-ac8d-8b3099fbbdaa X-Archives-Hash: 320013a5e0dd3d3b76eea0af955117a8 On 20/11/06, Ryan Tandy wrote: > Which reminds me: now that -g is gone, is there any switch to cp to make > it display a progress bar? Any other (simple) way of getting a progress > bar for large files? Hi, How about a rather neat ascii bar, http://www.theiling.de/projects/bar.html [quote] Copy a file Standard: cp infile outfile With Progress Bar: bar -o outfile infile Copy several files to another directory (showing a common progress bar) Standard: cp file1 file2 file2 outdir/ With Progress Bar: bar -c 'cat > outdir/${bar_file}' file1 file2 file3 [/quote] Not exactly perfect but does work. Thanks Mark -- gentoo-user@gentoo.org mailing list