• 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
Re: How can I speed up execution time of this script in case of many files
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How can I speed up execution time of this script in case of many files


  • Subject: Re: How can I speed up execution time of this script in case of many files
  • From: David Ferrington <email@hidden>
  • Date: Fri, 02 Aug 2013 09:37:41 +0100

I get an input, after lurking here a long time :-)
Are you moving all the files in a folder? Or perhaps those with certain characters in the name?

The shell command mv will move files, so to move all the files, you could do

cd current_dir_path; mv * new_dir_path;

if a subset, say with mv in the name, you could do

cd current_dir; mv *mv* new_dir_path;
or perhaps, for all .jpg
cd current_dir; mv *.jpg new_dir_path; done

If I knew how, it should be quite easy to do the shell command where you drop a list from A/S into the first param in the mv command.

- David 
-- 
Once upon a time a man whose axe was missing suspected his neighbour's son.
The boy walked like a thief, looked like a thief, and spoke like a thief.
But the man found his axe while digging in the valley, and the next time he
saw his neighbour's son, the boy walked, looked and spoke like any other
child. -Lao-tzu, philosopher (6th century BCE)
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
References: 
 >How can I speed up execution time of this script in case of many files (From: Bert Groeneveld <email@hidden>)
 >Re: How can I speed up execution time of this script in case of many files (From: Christopher Stone <email@hidden>)
 >Re: How can I speed up execution time of this script in case of many files (From: Bert Groeneveld <email@hidden>)

  • Prev by Date: Re: How can I speed up execution time of this script in case of many files
  • Next by Date: Moving & deleting a mailbox in Mail
  • Previous by thread: Re: How can I speed up execution time of this script in case of many files
  • Next by thread: Delete Mail Script
  • Index(es):
    • Date
    • Thread