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.

Hi Joe,
Welcome to the world UNIX.  The UNIX design philosophy is that commands
do their jobs with no extra verbiage.  The only time a command will
do something besides its expected action is when something goes wrong,
at which time it will report the error.  There are very good reasons for
this and if you are new to UNIX it may take some time to get untrained from
the "wrong way" other environments do it. :-)

This approach allows us to pipeline command together without having
to deal with all sorts of special options to handle diagnostic or status
reporting .

The only reason I can think of for wanting a periodic status report 
for a file copy is that your file copies frequently fail.  Under normal
circumstances it will just work.  No status or diagnostics needed, ever.

This means that your real problem is something else.  You don't need
a cp with status updates.  You need to fix whatever is going wrong 
in your environment that is causing the copy to fail.

What are you doing and how is it failing?


-- 
Jeff Kinz, Open-PC, Emergent Research,  Hudson, MA.  [EMAIL PROTECTED]
copyright 2003.  Use is restricted. Any use is an 
acceptance of the offer at http://www.kinz.org/policy.html.
Don't forget to change your password often.



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to