Copy files with progress indicator
Copy files with progress indicator
- Subject: Copy files with progress indicator
- From: Rhon Fitzwater <email@hidden>
- Date: Mon, 11 Jul 2005 16:22:18 -0400
I am writing a utility that should copy all the files in one
directory to another. What I need are some suggestions on how to do
this.
I want a progress indicator to display the status of the copying (how
much is complete). One way I thought about doing this was getting
the total number of files in the directory I am copying from and
using it to create a percentage from the number of files that have
been copied (increment each time a file is copied). But I am not
positive on how to do this. Should I use the Finder to copy, shell
command, etc. etc.
Is there a way I can do this with a do shell script command ( cp /tmp/
myfiles/* /Users/rfitz/myFiles/) and have a progress indicator.
Having the progress indicator is a must, and it can not be
indeterminate. I have a program the just uses the command above with
a indeterminate progress indicator, but I want to improve on this.
If anyone has any ideas, suggestions, sample code, etc. it would be
appreciated.
Thanks,
-Rhon
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden