Move selected files into a new folder

here's what I'd like to do:
-- select a number of files in the Finder
-- run the script
-- get a prompt for a new folder name and location
-- move (not copy) the selected files into this folder
Sounds possible but so far eludes me. Any help please?

Thanks, that helped a lot.
I played some more with this and made a more simplified script that uses the finder for naming of the new folder and then renaming it.
tell application “Finder”
set the_folder to container of item 1 of (get selection) as alias
end tell
tell application “Finder”
set new_folder to (make new folder in folder the_folder)
move selection to new_folder
end tell
tell application “Finder”
select new_folder
end tell
tell application “System Events”
keystroke return
end tell
15" 1.67ghz PB, 20" 2ghz G5 iMac   Mac OS X (10.4.6)  

Similar Messages

  • Making copies of RAWs and XMP files of select images into a new folder

    I have a group of 120 or so select images from a group of 3000, the selects
    three starred and red labeled. Now I would like to make a copy of those
    select RAW files and their XMP files and place in a new folder in order to
    burn a DVD of just those selects. How do I do this with LR? Export doesn't
    seem to offer this option, I can't seem to copy and paste like a typcial
    folder operation. I can drag the selects to another existing folder but
    then it moves them from their original location.
    Any help appreciated.
    Windows XP.
    David Madison

    Not currently from Within LR. Among other things Drag and Drop out of LR, which give you a copy w/o XMP sidecar on a Mac, is broken for Windows.
    You have to do it in Explorer.
    Don
    Don Ricklin, MacBook 1.83Ghz Duo 2 Core running 10.4.9 & Win XP, Pentax *ist D
    http://donricklin.blogspot.com/

  • Trying to move files into a new folder and th finder folders disappear and show latest open application

    I did not have this problem running the beta. I upgraded to the shipping version yesterday and whenever I try to move a file or application into another folder, both folders disappear, the desktop screen flashes, then I see the finder folders behind whatever application I had open last sitting on top of the finder window. If I let go of the mouse nothing moves and the windows close.
    2013 MacBook Pro 13" retina, 10.10 shipping version

    I'm having the same or similar issue...  I think...  trying to do a little house cleaning in the file structure.  For example, in our events folder I'm creating archive folders (i.e. - 2004, 2005, ect...) and when I use the Files Panel to drag and drop the past event pages into the newly created archive folder, the pages loose all their links.
    Image link prior to and after moving are the same (../images/logo1.gif)
    It does ask me to confirm that I want to move the file but nothing about updating the links.  Is it due to the way the files are linked in the original files?
    Thanks in advance for any help!!!

  • After creating a new user account, how do I move my files into the new user?

    I have an issue where my 'Desktop/Screensaver' prefs seem to be corrupt somehow. When I click on that icon in System Preferences, it stalls and I get the spinning ball, thus resulting in a force quit. After reading a Mac Format magazine where someone wrote in with a similar issue, they said to trash various prefs (did that and made no difference) and if that didn't work, try creating a New User account (therefore creating brand new system prefs) and move your stuff over.
    Well, I've created the New User account, but I can't figure out how to move/copy my stuff into the user folders. After copying and attempting to move stuff in, I see folders with a red circle with a white line through it (like a 'no entry' sign).
    Any clue as to how this can be done? All I'm trying to do is to reinstate the system prefs so they are not corrupt anymore on my log-in.

    No. Not the main Library folder. Make absolutely sure you are in the Home Library folder and not the main Library folder.
    Your Home Library folder is hidden in Lion. To get to it, in the Finder menu, select GO and hold the option key down. Select Library in the submenu. The Finder window will open in your Home Library. This is where your user prefs are stored.
    Once there, you will see the Preferences folder. Open it up, select all items within it and move them to the trash. You will need to restart in order for the new Finder preferences to be recreated.
    Once you restart, then you will be back to the default preferences to the system and all applications. And yes, it will affect all settings including your Dock, just as logging into a new user. You will have to reset everything there also.
    If you wish to do a selective method, instead of deleting all preferences, try deleting the one associated with your problem. Screen saver problems should be affected by the system preferences, so try deleting this:
    com.apple.systempreferences.plist
    com.apple.systempreferences.plist.lockfile
    Note that when you delete system file preferences, a restart will be required. For applications, just quit the application before trashing preference files.

  • Mail automatically moves old messages into a new folder.

    Hi,
    I noticed today that Mail automatically created a new folder called Aug2009 and moved all my old messages from my Inbox into that folder. How do I stop it from doing that? I would like to be able to see and search through ALL my mail at once, not just one month at a time.
    Thanks for your help
    -Patrick

    Greetings,
    Sounds like you have a Rule setup to do that, since it's not something Mail would do all by itself. Look in Preferences > Rules for that and if you see it, delete it; then move the messages back to your Inbox.

  • How do I collect and organize files into a new folder without breaking the links to my media?

    I'm new to premiere pro, and learned that I probably should have figured out where to organize all of my files from the beginning, but in the post production phase, I have a bunch of audio and image files sitting all over my desktop, and I'm afraid that if I move them, I'll break the links to all of my media. Files I edited in CS6 Photoshop and Audition are of special concern (considering they get automatically routed to my desktop).
    Does anyone know how I can collect all of the files and media that were imported into my project, and and archive them into a folder without breaking the project's links to the original media? Perhaps there's a way to copy all of the files and move them into that folder, so that when I move the originals, I'll still maintain all of the links in the copied version?
    I tried using the project manager tool, but received an "unknown error message" each time I ran it. 
    Any organizational insight would be much appreciated!     

    Read Bill Hunt on ONE project setup idea http://forums.adobe.com/thread/919388?tstart=0
    Also read Metadata contained in folder http://forums.adobe.com/thread/1015001?tstart=0
    -and http://helpx.adobe.com/premiere-pro/using/transferring-importing-files.html

  • How to move pdf files into iCloud drive folder

    Now that we can have a folder called, say "personal" with pages, numbers and other files in - how can I get my pdf files that are currently in iBooks into these iCloud drive folders. I don't even know where the pdfs from iBooks are! Certainly not in iTunes. I have many dozens of pdfs which could do with sorting into folders with their relevant notes that I make in Pages. I have an IPad Air and an iPad with Yosemite.

    Thanks, Niel, though I underspecified the problem a bit because I knew how to do the rest in Automator; unfortunately, I know even less about Applescript.
    How do I also specify that the file names must begin with a specific text string (e.g. "journal.").
    John

  • Script/Automator Get Filenames in Folder and Move Each File into Folder based on Filename?

    I have searched for an answer to this and I have searched through multiple file renaming apps on the app store too but alas I cannot find anything that does what I want so I ended up looking into Automator as my saviour but I am a total NOOB.
    What I want to do is point automator to a folder of my choosing
    Automator then takes each file in that folder and creates a folder with the same name as the file and then move the file into that subfolder.
    Sounds easy enough eh
    I'm totally stumped, anyone have any guidance ???

    This is a PITA to do in automator - automator does not handle loops the way it should - but in applescript it looks like so (open this in the applescript editor, select the file you want to run it on in the Finder, then run the script):
    tell application "Finder"
              set mainFolders to the selection
      -- selection returns as a list, so even if there's only one folder a loop is used
              repeat with thisFolder in mainFolders
      --get the folder's contents
                        set containedItems to every item of thisFolder
                        repeat with thisItem in containedItems
      -- get name of file, add 'ƒ' to avoid name conflicts
                                  set newFolderName to (displayed name of thisItem) & " ƒ"
      --make folder, move item
                                  set newFolder to make new folder at thisFolder with properties {name:newFolderName}
      move thisItem to newFolder
                        end repeat
              end repeat
    end tell

  • How can I move the permissions.sqlite file to a new folder or a subfolder?

    I am using a syncing program to keep cookie exceptions on multiple computers all equivalent. Unfortunately this is causing a problem because places.sqlite changes frequently and cannot be synced while FF is running. So I want to move the permissions.sqlite file to a new folder or a subfolder so I can only sync that one folder. Is there a way to specify the location of this file?

    Sorry, there is no way to move that file out of the Profile folder, or specify a different location for it, built into Firefox.
    One extension that might be able to help you do that is Pike's Bookmark Backup extension. BB allows you to specify which files are backed-up and where those backup files are saved. It also has a backup interval setting, IIRC. <br />
    http://www.pikey.me.uk/mozilla/?addon=bb

  • How to move documents into a new folder in Pages for iPad

    I have several files in a folder in Pages on my, and want to move some of them into a new folder. How can I do that?  Thank you.

    copy two of them out into the "root" folder, make a new folder with those two, and then start moving the others in that you want to put together.
    Jason

  • I backup my iphone on my pc and copy backup file into drive D then i setup new OS on my pc. after that i copy the backup file into itunes backup folder but itunes can't find the backup file to restore my iphone. how can i restore my iphone?

    i backup my iphone on my pc and copy backup file into drive D then i setup new OS on my pc. after that i copy the backup file into itunes backup folder but itunes can't find the backup file to restore my iphone. how can i restore my iphone?

    Don't you just love changes in interfaces?
    I found the answer to my question.
    When you attach a device (iPhone, iPad) to your Mac, in iTunes 12 in appears as a tiny icon in the second "row" of the iTunes display. Click the icon and the familiar iTunes display for the device appears. From there, on the Summary screen, you can see the dates of the backups of the device (iCloud and backup to the computer). You can also use the button to backup to the computer.

  • How do I move a file into a folder on my creative cloud site?

    While Im on my creative cloud site, trying to organize files... how can i simply move an old file/doc into a folder that I've already created??
    Also, on creative cloud I want to view actual print size without downloading it somewhere... can I????

    To move an individual file from the Grid View click on the triangle in the bottom right and choose Move. You can then choose which folder to move the file into.
    To move multiple files at once switch to the List View. Check the files you want to move and from the blue menu at the top choose Move.

  • HT201737 how to move files into a finder folder

    how do I move files into an existing folder in finder on MacBook Pro?

    I am attempting to move some EXEL files that have been saved as documents.  When I open finder, these files do not appear in the recent, or last 30 days section so I need to search fro them.  When they are found they are not on the page where the folder exists so I don't seem to be able to drag them to the folder. 

  • Why can't I copy a picture into a new folder from iPhoto?

    I have always been able to copy pictures from iPhoto and then copy them to my desktop or into new folders as I pleased. Suddenly, while trying to simply copy from iPhoto and then paste them into a new folder, the pictures do not appear. I've tried exporting them as well but for some reason, a select few pictures just don't appear. I can see them in iPhoto and I can even locate the original file with the Reveal in Finder option but I still can't copy into a new folder. I'm a bit perplexed. Any help you guys can offer will be greatly appreciated.

    If you want to export from iPhoto use drag and drop or the file -> export command. This User Tip
    https://discussions.apple.com/docs/DOC-4921
    has details of the options in the Export dialogue.
    if I wanted to paste into a different event in iphoto.
    You can't do this.
    When you duplicate a photo you're creating a version (or virtual copy) of the photo. Both the first and the virtual versions point back to the same Master. The Master lives in the Event.
    You can have different versions in Albums, as these too are virtual. A shot can be in any number of Albums and use no extra disk space. Having a shot in two Events uses double the disk space.
    If you're determined to have a shot in multiple events then export the shot (file -> export) and then import the exported version back into iPhoto.
    At heart,  Events are organisation for those who can't really be bothered. They are automatic - based entirely on Date and Time the camera records the photos as taken. You can move photos between Events, you can Merge Events, you can Rename them and sort them in various ways.
    Now it's time to look at albums which are much more flexible than Events as an organising tool.

  • How to move a file to a different folder in webdynpro?

    Hi all
    i ve created a file in some folder using fileoutput stream(). now i want to delete this file from folder  and copy that file into some different folder.
    can anyone tell me.How to delete and move a file?

    try {
         File inputFile = new File("C:\test\fold1\abc.txt");
         File outputFile = new File("C:\test\fold2\def.txt");
         FileInputStream in = new FileInputStream(inputFile);
         FileOutputStream out = new FileOutputStream(outputFile);
         FileChannel inc = in.getChannel();
         FileChannel outc = out.getChannel();
         inc.transferTo(0, inc.size(), outc);
         inc.close();
         outc.close();
         in.close();
         out.close();
         boolean fileDeleteSuccess = inputFile.delete();
         if(!fileDeleteSuccess)
              System.out.println("File couldnot be deleted");
         else
              System.out.println("File deleted!!");
         } catch (FileNotFoundException e) {
         e.printStackTrace();
         } catch (IOException e) {
         e.printStackTrace();

Maybe you are looking for