LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 09-30-2007, 09:08 PM   #1
jo4
LQ Newbie
 
Registered: Sep 2007
Location: Norway
Distribution: Gentoo, Debian
Posts: 24

Rep: Reputation: 15
Copy with progress count


Hi, I'm looking for a 'cp' alternative with some sort of status indication. Either a percentage count or a progress bar. Any suggestions?

Thanks
 
Old 09-30-2007, 09:12 PM   #2
AAnarchYY
Member
 
Registered: Sep 2004
Location: Carlisle, MA
Distribution: Slackware 10.2 Fluxbox 2.6.17.6
Posts: 419

Rep: Reputation: 30
you could use scp

scp <file> localhost:<destination>
 
Old 09-30-2007, 09:24 PM   #3
jo4
LQ Newbie
 
Registered: Sep 2007
Location: Norway
Distribution: Gentoo, Debian
Posts: 24

Original Poster
Rep: Reputation: 15
well, i find some problems with that. please correct me if i'm wrong, but scp uses ssh for file transfer. so when i connect to localhost then it prompts me for password.

i plan to use this often because i do quite a bit copying of large directories. and the syntax differences can be fixed with a script, but the password thing can get a bit annoying

EDIT:
Also, if anyone know of more than one program, i would love to have a indicator on how much it's copying by the minute or any sort of speed indicator. but let's not get carried away here ;D

Last edited by jo4; 09-30-2007 at 09:35 PM.
 
Old 10-01-2007, 12:27 PM   #4
osor
HCL Maintainer
 
Registered: Jan 2006
Distribution: (H)LFS, Gentoo
Posts: 2,450

Rep: Reputation: 70
Quote:
Originally Posted by jo4 View Post
but the password thing can get a bit annoying
Just use an ssh-agent, and the password is only required once (in a given while).

Alternatively, you could use bar (which is very customizable).
 
Old 10-01-2007, 02:11 PM   #5
jo4
LQ Newbie
 
Registered: Sep 2007
Location: Norway
Distribution: Gentoo, Debian
Posts: 24

Original Poster
Rep: Reputation: 15
wow, thanks.

i'm going for bar, need some time to fiddle with that and some script though.

but thanks alot ;D
 
Old 10-01-2007, 08:10 PM   #6
chrism01
Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.5, Centos 5.10
Posts: 16,261

Rep: Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028
Or use authorised-keys with ssh ie uses certs instead of passwd, which you setup once only.
 
  


Reply

Tags
copying


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to display file copy progress bar bmcneely0 Linux - General 12 02-19-2012 03:19 PM
gui file copy progress indicator? zero79 Linux - Software 3 07-10-2005 02:00 AM
How the Progress Bar of a copy file/directory process is progressed?(any logic)? kiranprashant Programming 3 03-08-2005 06:16 AM
Copy progress Ztyx Linux - Software 3 10-16-2003 01:25 PM
copy files progress(konqueror) eye Red Hat 0 10-14-2003 10:38 PM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration