• 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
move all files also with no extension via shell command
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

move all files also with no extension via shell command


  • Subject: move all files also with no extension via shell command
  • From: "Jan-Bultereys" <email@hidden>
  • Date: Wed, 4 May 2005 18:56:47 +0200
  • Thread-topic: move all files also with no extension via shell command

hi,

Does anyone know how to move files from destination1 to destination2  via the do shell script command?

This is what I have but files must have an extension.... script goes in error if files don't have an extension.

tell application "Finder"
	set mylist to (every item of folder Source)

 ------ Do some actions here -----

	try
do shell script "" & Source & " ; mv *.* " & destination & ""
	on error
		display dialog "does not work"
	end try
end tell

What is the shell command to move every file in a folder mv *.* is not my solution

Probably it's something simple, but I don't find it,

regards,jan


 _______________________________________________
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: move all files also with no extension via shell command
      • From: Doug McNutt <email@hidden>
    • Re: move all files also with no extension via shell command
      • From: Yu Chen <email@hidden>
  • Prev by Date: Re: Keyboard shortcut for auto-complete (Code Sense) in Tiger
  • Next by Date: Re: New Tiger dictionary format example posted
  • Previous by thread: Re: Unable to really change the window location
  • Next by thread: Re: move all files also with no extension via shell command
  • Index(es):
    • Date
    • Thread