• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Copy files with progress indicator
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Copy files with progress indicator
      • From: Doug McNutt <email@hidden>
    • Re: Copy files with progress indicator
      • From: Paul Berkowitz <email@hidden>
  • Prev by Date: Re: Get/Set font of clipboard contents?
  • Next by Date: Re: Copy files with progress indicator
  • Previous by thread: Re: QuickTime 7 - Make New annotation
  • Next by thread: Re: Copy files with progress indicator
  • Index(es):
    • Date
    • Thread