LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-25-2013, 11:44 PM   #1
mainah
LQ Newbie
 
Registered: Jul 2013
Location: nairobi
Distribution: linux mint
Posts: 4

Rep: Reputation: Disabled
please help!


Hi every one
am new to linux and just wondering how
i can copy files and view the copying
progress(%) Using 'cp' command.
 
Old 07-26-2013, 01:59 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,353
Blog Entries: 55

Rep: Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541
Hello and welcome to LQ, hope you like it here.
That you need help is a given, so next time please use a descriptive thread title.
Have a look at the manual page for the 'pv' command (Pipe Viewer).
 
1 members found this post helpful.
Old 07-26-2013, 10:36 AM   #3
salasi
Senior Member
 
Registered: Jul 2007
Location: Directly above centre of the earth, UK
Distribution: SuSE, plus some hopping
Posts: 4,062

Rep: Reputation: 893Reputation: 893Reputation: 893Reputation: 893Reputation: 893Reputation: 893Reputation: 893
You may or may not have pv installed by default (and, if you don't have it, you won't have a man page to look at, until you do install it), but there is a thread here which discusses this issue.
 
1 members found this post helpful.
Old 07-26-2013, 10:40 AM   #4
szboardstretcher
Senior Member
 
Registered: Aug 2006
Location: Detroit, MI
Distribution: GNU/Linux systemd
Posts: 4,204

Rep: Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611
To install pv:

yum install pv
-or-
apt-get install pv

then:

Code:
pv source_file > destination_file
Or just use rsync

To install rsync

yum install rsync
-or-
apt-get install rsync

Code:
rsync -varh --progress /somewhere/directory /somewhereelse/
 
1 members found this post helpful.
Old 07-26-2013, 10:58 AM   #5
mainah
LQ Newbie
 
Registered: Jul 2013
Location: nairobi
Distribution: linux mint
Posts: 4

Original Poster
Rep: Reputation: Disabled
viewing copying progress

Thanks alot everyone pv did just as i wanted after
installation
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off




All times are GMT -5. The time now is 06:54 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration