LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
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,070

Rep: Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897
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,278

Rep: Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694
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



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



LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:03 AM.

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
Open Source Consulting | Domain Registration