• 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
which is better: applescript "move" command or do shell script mv….?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

which is better: applescript "move" command or do shell script mv….?


  • Subject: which is better: applescript "move" command or do shell script mv….?
  • From: Dee Dee Sommers <email@hidden>
  • Date: Thu, 27 Jun 2013 23:08:58 -0400

Dear wonderful, patient Applescript and Mac gurus,

Here is my next question:
Which is better or more desirable in a situation?

Currently, all of our timers are Automator alarms that are mostly "run applescript….".

Some of the workflows simply address a specific [scriptable] application.
Others involve moving files around, but keeping the filename intact;
then there are the ones that involve renaming the file as it is copied or moved into another folder -- those we are handling with folder action automator workflows.

Now I think I am becoming a hot-shot (lol) and ready to step away slightly, from the dependence on Automator, to do the work in Applescript without the overhead of Automator.

As such,
I have a workflow I would like to replace, that moves specific files from folder a to folder b.  The folders are on the same volume and in the same subdirectory.  Folder b will normally contain files with the same name as the ones I am moving.  I want to overwrite the existing files.
No name change.

This is working without flaw.
The only reason I want to change it is because now I want to follow the moving of files with a little sub routine or something like that, that calls QT Pro to export one of the files I just moved, to another format, with the same name, just a different extension, and to be written in the same location as the source file.  I want this to run after the successful completion of moving the files.

There are only 4 files we're talking about, for the move, so it's not like a ginormous task to move the files with replacing….

Thank you for any advice (or criticism) you might feel inspired to offer!
Oh, this file work is being done on a Mac Pro, running OS X 10.8.4…..

Thank you for your brain share,
Dee Dee
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden


  • Follow-Ups:
    • Re: which is better: applescript "move" command or do shell script mv….?
      • From: Christopher Stone <email@hidden>
  • Prev by Date: Changes in 10.8
  • Next by Date: Re: unresponsive apps and applescript
  • Previous by thread: Re: Changes in 10.8
  • Next by thread: Re: which is better: applescript "move" command or do shell script mv….?
  • Index(es):
    • Date
    • Thread