Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
92 user(s) are online (54 user(s) are browsing Forums)

Members: 1
Guests: 91

Swisso, more...

Headlines

 
  Register To Post  

CLI: Copy with Progress Window?
Illusionist
Illusionist


See User information
I have to copy much files via shell script.

Is there a way to display the progress in a window just like when I drag'n'drop files on the Workbench?

Martin "Mason" Merz
www.masonicons.de

I've seen things you people wouldn't believe . . .
Go to top
Re: CLI: Copy with Progress Window?
Not too shy to talk
Not too shy to talk


See User information
@Mason

You could use the echo command to print a * ever 100 Files or so. Or you could use the Installer if the script is a installer, like in your AISS.

Go to top
Re: CLI: Copy with Progress Window?
Just popping in
Just popping in


See User information
@Mason
We have written a copy programme with a progess meter:
http://software.alinea-computer.de/seiten/freeware_anwendungen.php

AmigaOne XE G3 750FX 800Mhz/2 GB Ram + Radeon 9000PRO 128MB +AmigaOS4.1
A4000T CyberstormPPC 604e-200Mhz/060/128MB+CybervisionPPC 8MB +AmigaOS4
and anymore other Amigas...
Go to top
Re: CLI: Copy with Progress Window?
Just can't stay away
Just can't stay away


See User information
@Mason

search on AMINET "copy progress" and you get:

pcopy.lha util/cli 7 12K 2002-03-24 m68k-amigaos Like AmigaDos copy; with progress, time and speed - (readme)

SCopy10.lha util/cli 3 15K 1996-06-01 m68k-amigaos See copy speed and progress on slow devices - (readme)

SCopy108.lha util/sys 0 8K 1995-04-26 m68k-amigaos Copy command with progress indicators - (readme)

BYE

Go to top
Re: CLI: Copy with Progress Window?
Illusionist
Illusionist


See User information
@all

Thanks for the suggestions!
I will have a look at it.

Even as I more thought about a parameter for the standard copy comand.

Martin "Mason" Merz
www.masonicons.de

I've seen things you people wouldn't believe . . .
Go to top
Re: CLI: Copy with Progress Window?
Not too shy to talk
Not too shy to talk


See User information
@Mason
Quote:

Even as I more thought about a parameter for the standard copy comand.

The standard copy command prints the names of the files, this is a kind of progress indicator. Maybe it is the simplest to not use >NIL: ?

Go to top
Re: CLI: Copy with Progress Window?
Illusionist
Illusionist


See User information
@ZeroG

I know, I know, but it looks not 'stylish'

Martin "Mason" Merz
www.masonicons.de

I've seen things you people wouldn't believe . . .
Go to top
Re: CLI: Copy with Progress Window?
Just can't stay away
Just can't stay away


See User information
@Mason

you could try a script like this:

.bra {
.ket }
.key source,dest

echo "Copying Zillions of files the hard way" noline
list {source} lformat="echo . noline*ncopy *"%F%N*" *"{dest}*"" >t:copyscript
execute t:copyscript
delete t:copyscript
echo Done.


it will just print a dot for each file copied.

This is totally untested, use at your own risk etc.

Amiga user since 1985
AOS4, A-EON, IBrowse & Alinea Betatester

Ps. I hate the new amigans website. <shudder>
Go to top

  Register To Post

 




Currently Active Users Viewing This Thread: 1 ( 0 members and 1 Anonymous Users )




Powered by XOOPS 2.0 © 2001-2023 The XOOPS Project