Viewing CP status

2003-03-29 Thread Joe Giles
Is there a way to get the 'cp' command to display some kind of status that the copy is happening. Like hash marks or something... Its gets frustrating when copying large files from one location to another and not seeing any progress. Thanks Joe -- redhat-list mailing list unsubscribe

Re: Viewing CP status

2003-03-29 Thread Jeff Kinz
On Sat, Mar 29, 2003 at 04:52:10PM -0700, Joe Giles wrote: Is there a way to get the 'cp' command to display some kind of status that the copy is happening. Like hash marks or something... Its gets frustrating when copying large files from one location to another and not seeing any progress.

Re: Viewing CP status

2003-03-29 Thread Joe Giles
Well, nothing is failing. I just want to know how long I have to wait to copy a file from one server to another so I can retrieve that file and work with it. The file is a little over 400 megs and the link is a dsl link (640 x 256). So I just wish to know a round about time it will finish. I

Re: Viewing CP status

2003-03-29 Thread fred pasteck
Hi Joe, You can either read what Jeff has written, or you can just run cp -av instead. Best, Fred --- Jeff Kinz [EMAIL PROTECTED] wrote: On Sat, Mar 29, 2003 at 04:52:10PM -0700, Joe Giles wrote: Is there a way to get the 'cp' command to display some kind of status that the copy is

Re: Viewing CP status

2003-03-29 Thread Jeff Kinz
On Sat, Mar 29, 2003 at 05:47:45PM -0800, fred pasteck wrote: Hi Joe, You can either read what Jeff has written, or you can just run cp -av instead. Interesting Fred. On my system that simply reports when the job is finished. echo back the name of the file being copied from and to. No

Re: Viewing CP status

2003-03-29 Thread fred pasteck
Interesting Fred. On my system that simply reports when the job is finished. echo back the name of the file being copied from and to. You want to use rsync with --progress, then. Set up an rsync server on one side then use: rsync -avz --progress rsync://server/path/to/file on the other

Re: Viewing CP status

2003-03-29 Thread fred pasteck
Sorry, one follow-up to my post. Another advantage to using rsync is that it will pick up where it left off if your dial-up gets disconnected. rsync can also be configured to run over ssh (which is actually how it's normally configured), but if you haven't used ssh before then it's a bit

Re: Viewing CP status

2003-03-29 Thread Jeff Kinz
On Sat, Mar 29, 2003 at 06:57:04PM -0700, Joe Giles wrote: Well, nothing is failing. I just want to know how long I have to wait to copy a file from one server to another so I can retrieve that file and work with it. The file is a little over 400 megs and the link is a dsl link (640 x 256). So

Re: Viewing CP status

2003-03-29 Thread Joe Giles
Hmmm.. Ok, never though of rsync. I'll look into that.. Thanks :) Joe On Sat, 2003-03-29 at 19:03, fred pasteck wrote: Interesting Fred. On my system that simply reports when the job is finished. echo back the name of the file being copied from and to. You want to use rsync with

Re: Viewing CP status

2003-03-29 Thread Joe Giles
Yeah, I share a FS using samba and mount the connection at work. Then I set up iptables to only allow the ip/subnet of my work and home to allow the samba and related ports access so it is secure... This has worked very well. No need for VPN :-P Besides, I have a VPN connection and because of

Re: Viewing CP status

2003-03-29 Thread Jeff Kinz
On Sat, Mar 29, 2003 at 06:03:03PM -0800, fred pasteck wrote: You want to use rsync with --progress, then. Set up an rsync server on one side then use: rsync -avz --progress rsync://server/path/to/file on the other side. To set up the server, simply run rsync --daemon on the server side.

Re: Viewing CP status

2003-03-29 Thread Joe Giles
So would the syntax be as follows: rsync -avz --progress filename rsync://server/path/to/file/filename Sorry if I'm asking a brainless question... Never used rsync before :-P Thanks Joe On Sat, 2003-03-29 at 19:55, Jeff Kinz wrote: On Sat, Mar 29, 2003 at 06:03:03PM -0800, fred pasteck

Re: Viewing CP status

2003-03-29 Thread Jeff Kinz
On Sat, Mar 29, 2003 at 08:06:35PM -0700, Joe Giles wrote: Yeah, I share a FS using samba and mount the connection at work. Then I set up iptables to only allow the ip/subnet of my work and home to allow the samba and related ports access so it is secure... This has worked very well. No need

Re: Viewing CP status

2003-03-29 Thread Joe Giles
OOOhh.. Ok.. Super... Let me try that.. Thanks A MILLION for all your help :) Joe On Sat, 2003-03-29 at 20:13, Jeff Kinz wrote: On Sat, Mar 29, 2003 at 08:06:35PM -0700, Joe Giles wrote: Yeah, I share a FS using samba and mount the connection at work. Then I set up iptables to only allow

Re: Viewing CP status

2003-03-29 Thread fred pasteck
rsync -avz --progress rsync://server/$1 You may need to change the rsync invocation. Yes, you will need to change the rsync invocation. My apologies. It should be something like: rsync -avz --progress -- localfile rsync://server/ You can replace localfile with $1 to get the filename

Re: Viewing CP status

2003-03-29 Thread Cameron Simpson
On 16:52 29 Mar 2003, Joe Giles [EMAIL PROTECTED] wrote: | Is there a way to get the 'cp' command to display some kind of status | that the copy is happening. Like hash marks or something... | | Its gets frustrating when copying large files from one location to | another and not seeing any