Automator can't move files to the trash?

A very simple Automator script that I've used for some time now on several 10.5 machines refuses to work under 10.6. The contents are:
*Find Finder Items*
- on Desktop
- Whose size is less than 1 gb
*Move Finder Items to Trash*
That's it. This has worked and continues to work on all the 10.5 machines, but the one that I've upgraded to 10.6 now gives an error which states:
"The Action 'Move Finder Items to Trash" has encountered an error. Check the action's properties and try running the workflow again."
HALP! I'm not sure why this wouldn't work, I've redone the workflow on the affected machine to make sure there's no conflict between Automator versions, and still no joy. Any ideas?

Alicea, have a look at the post I made in the AppleScript forum here.

Similar Messages

  • Xpost - Automator can't move files to the trash?

    *Cross posted from the 10.6 board.*
    A very simple Automator script that I've used for some time now on several 10.5 machines refuses to work under 10.6. The contents are:
    *Find Finder Items*
    -on Desktop
    -Whose size is less than 1 gb
    *Move Finder Items to Trash*
    That's it. This has worked and continues to work on all the 10.5 machines, but the one that I've upgraded to 10.6 now gives an error which states:
    "The Action 'Move Finder Items to Trash" has encountered an error. Check the action's properties and try running the workflow again."
    HALP! I'm not sure why this wouldn't work, I've redone the workflow on the affected machine to make sure there's no conflict between Automator versions, and still no joy. Any ideas?

    I don't know much about Automator. However I have noticed that the action “Find Finder Items on Desktop whose size is less than 1 GB” seems to consider the Desktop itself as one of its items, which is the reason why the next action, “Move Finder Items to Trash”, becomes impossible. So just add the condition “whose name is not Desktop” to the first action.
    Btw, your Automator script could be replaced with the following one-line AppleScript script:
    *tell application "Finder" to move (items of desktop whose size is less than 1.0E+9) to trash*
    Message was edited by: Pierre L.

  • I can not move files to the trash.

    I can not move files to the trash. When I drag the file to the trash it does not move, but it does appear in the trash and when I empty it, the file is erased. When I go back to my files, the file I just deleted is still there. I keep getting the "startup disk is full" message so I need to delete files, but I can't. Anyone know a solution to this?

    try getting a external drive such as a usb flash drive or a hard drive to transfer the files from the startup disk, and free up space.
    hope this helps!

  • Cannot move files to the trash bin

    Hello,
    I recently upgraded from Snow Leopard to Mountain Lion and have since also changed the administrator on our MacBook Pro. My account (formerly the admin) can no longer move files to the trash bin. My wife's account (now admin) has no problem doing so. When I try dragging a file to the trash I get "Finder wants to make changes, type the administrator's name and password to allow this."
    Not something I wan't to be doing every time. Please help.
    Thanks,
    the RouleauFamily

    Thanks for your reply. The permissions looked fine.
    Here is the fix I found at http://www.thexlab.com/faqs/trash.html which worked:
    If the affected account is:
    Then type the Terminal command:
    Your Admin account:
    sudo rm -ri ~/.Trash
    Another user account:
    sudo rm -ri /Users/user_name/.Trashwhere user_name is the short name of the affected account.
    Warmly,
    Olivier

  • Can't move items to the trash, change permissions?

    I was copying some files to a USB jump drive while I reformatted my girlfriends PC including her 'Favorites' and her personal folder. Now these are both locked on my drive and I cannot unlock them in the 'Get Info' so I can't being them to the trash. Is ther anyway to unlock these or change permissions. I tried playing with the 'chown' unix command but am not sure quite how to do it. Any help? Thanks

    If you've got the problem I think you have, take a look at this thread:
    http://discussions.apple.com/thread.jspa?messageID=6061352
    Are the files still on the USB drive? If there is nothing else on it that you need the simplest solution is to reformat it. Otherwise you'll have to hook it up to a Windows machine and follow the instructions provided by Apophis.
    Francine
    Francine
    Schwieder

  • How can I put files into the trash without login every time?

    Every time I want to put items in the trash, after dragging things to the basket, I have to sign in.  Why? Can I set the defaul to allow me to do so without login?

    The procedure below will reset the permissions of a user's home folder in OS X 10.7.4 or later, including 10.8 or later. If you're running an earlier version of 10.7, update to the latest version first. This procedure should not be used under OS X versions older than 10.7.4.
    Back up all data before you begin.
    Step 1
    Click the Finder icon in the Dock. A Finder window will open.
    Step 2
    Press the following key combinations, in the order given:
    Command-3
    Shift-command-H
    Command-I (the letter "I" as in "Info.")
    The Info window of your home folder will open.
    Step 3
    Click the lock icon in the lower right corner and authenticate with the name and login password of an administrator on the system. If you have only one user account, you are the administrator.
    Step 4
    In the Sharing & Permissions section of the window, verify that you have "Read & Write" privileges. If not, use the "+" and "-" buttons in the lower left corner to make the necessary changes.
    Step 5
    By default, the groups "staff" and "everyone" have "Read Only" privileges. With those settings, the files at the top level of your home folder will be readable by other local users. You can change the privileges to "No Access" if you wish, but then your Public and Drop Box folders will be inaccessible to others. Most likely, you don't need to change these settings.
    Step 6
    If there are entries in the Sharing & Permissions list for users or groups other than "me," "staff," and "everyone," delete them.
    Step 7
    Click the gear icon at the bottom of the Info window and select Apply to enclosed items... from the drop-down menu. Confirm. The operation may take several minutes to complete. When it does, close the Info window.

  • How can I move files using the title bar

    I am using Mountain Lion, latest release (10.8.4) and am wondering if there is some secret options which would allow me to move files by clicking on the title bar (of e.g. preview) and moving it to a directory.
    Unfortunately, I can only either create a link or copy the file. Moving seems to be deactivated, though I have learned from other forums posts that this was working under Tiger.
    Any advise would be greatly appreciated.
    Thanks,
    equi

    Depends on the application. iCloud-aware applications (Preview, Pages, etc) have the behavior you describe, and you can't move a file by dragging the thumbnail icon, but there is a small popup triangle to the right of the filename which contains the option "Move To" - you can then select your destination. It's not as seamless and dragging and dropping, though, I agree.
    Non-iCloud-aware apps, like Office 2011, still allow drag-to-move from the titlebar icon.
    Matt

  • Workflow - Can I move files around the directory structure?

    I have been using Lightroom for a while now and developed a workflow that does what I need. Right now here is what happens in Lightroom:
    1)Import RAW files
    2)Edit/dispose images
    3)Export to JPEG
    4)Move RAW files to archive location off site
    So my main question is with the last step. In Lightroom I can move the files to their new perminant location offsite. But I cant seem to get this same ability with Aperture. When I move the files it freaks out and cant locate the files anymore. I cant figure out the best way to get this workflow within Aperture. Any thoughts?

    Nice easy answer, Two simple options (best to think of the long term needs before making the decision) Referenced or Managed
    You can change round at a later date if need be. Aperture has options to do this for you.
    Referenced keeps Masters on an external HD. Vaults back up the Library only and you have to do your own backup. This can be done during the import. Keeps internal HD space used to a minimum.
    Managed Keeps Masters in Aperture. A complete backup of all the Library using vaults is possible. Uses more internal HD space.
    Allan

  • I can't move files to trash

    I can't move files to the trash without the finder wanting an administrator password and then the file is immediately deleted.  This just strarted a few days ago.

    Click once on the hard drive icon - top right - and type command + i (both keys together).
    This is the bottom half of what you will see:
    1. Click the padlock and authenticate with your password.
    2. Your Name should have the Privilege to Read and Write. If it does not click on whatever is there, and change it.
    3. Click on the gear wheel and select "Apply to enclosed items".
    There will be a message, say OK, and let it continue. This will take some time.

  • Can't move files, only duplicate

    hello,
    i have some files at the root level of my laptop drive and i want to move them, but they only copy into their new locations (duplicating) they don't simply move with the gong sound. i'm wondering why. does it have to do with permissions or something?
    thanks
    max

    A 'move' is just shorthand for a 'copy to new location X, and delete from old location Y'.
    You can't delete something outside of your user account without Admin privileges. I haven't tested this, but for that reason I'd imagine you can't move files in the root directory. Copy them then delete them manually, supplying your Admin password when prompted.

  • I cannot delete a file from the document folder.  I can move it to the trash and then empty the trash, but when I go back to the documents folder it is still there.

    I cannot delete a file from the documents folder.  I can move it to the trash and then empty it, but when I go back to the documents folder, the file is still there.

    Gay,
    I wonder what your computing environment is. Is your account being administrated by another account? Are you working in an account subject to "Parental Controls"?
    Jerry

  • How do you move a file to the trash with ONE keystroke (Can't believe I'm wasting time on this!)

    Everytime I want to send a file to the trash, I have to either perform some kind of key combination/shortcut or use the trackpad/mouse, right click and select "move to trash", or drag the file(s) to the trash!  This is absolutely ridiculous.  Why can't I just press the delete button??? I cannot take it anymore!  It's such a waste of time.
    After some research, I finally found a post with the answer I was looking for from user  par larsson 
    Re: How delete a file in mac os x?
    "You can also go into System Preferences and make a new keyboard shortcut. I turned one of the function keys into a "Move To Trash" key.
    1. No need to use the mouse for something that should be simple and quick.
    2. Single button press just like in Windows."
    Seriously!
    Now the problem is how do you do this?
    1. I went to the system prefs > Keyboard > Keyboard and checked "use F1, F2, etc... as standard function keys.."
    2. Under keyboard shortcuts, I selected "Application Shortcuts" and clicked on the "+" sign
    3. I selected the finder application, entered "Move To Trash" in the action box, and F12 as the key (because it's next to "delete")
    That did not work.  It just opened the dashboard instead.
    4.  I went back to "keyboard shortcuts" and found F12 was already assigned to open the dashboard.  So I unchecked it and tried again.
    That still didn't work.  I would select the file to be moved to trash, press F12, and after an error "beep" sound, the last file in the folder was highlighted.

    Duuuuuuuuuuuuuuuuuuuuuuuude!!!!!!!!!!!!  YOU DID IT!  I cannot believe it!
    I changed "Move To Trash" to "Move to Trash" and selected a file.  I had lost all hope, so I took a minute to prepare myself for yet another moment of deep frustration.  Then I pressed F10, and bang! the file was trashed!!!  It took me a couple minutes to actually believe what just happened.  Thank you so much!  If I could, I would "like" you as many times as I can physically hit the "Liked" button!
    PS: what the heck is wrong with Apple though???  Wrong instructions, incorrect help instructions on their own site.  The chances of figuring this out before having a nervous breakdown were like one in a million (approximately, I did not actually do the math).  Last week, the keyboard and the trackpad stopped responding on my brand new macbook pro for a couple hours. I was not the only one with this problem.  Apparently, this was from a design flaw, which means it could happen again at any time.  iMovie doesn't work.  TextEdit keeps crashing all the time.  Emptying the trash can take hours. 
    Since 2000, I bought a PMac G4 Quicksilver, a used PMac G3 Blue, a used iBook G4, a used Pismo PBook G3, a used Graphite iMac G4, a used iMac G3 (green, 233MHz I think) and I already had more problems with this brand new macbook pro than will all the other macs combined...  For such an expensive machine, with 16GB of RAM, that's a little dissapointing, especially from Apple.  Maybe I'm just not lucky.
    Anyways, thanks again!  Best moment of 2014!

  • Can I move the Install OS X Maverick file to the trash?

    Can I move the Install OS X Maverick file to the trash?

    If you have already upgraded, you can delete it.
    However, if you want to prevent the OS X Mavericks download each time you need to reinstall OS X, I recommend you to create a DVD or USB drive with the Mavericks installer before removing the OS X Mavericks installer. You can use DiskMaker X > http://liondiskmaker.com

  • Moving files to the Trash with Automator

    I'm having some problems with Automator, and I'm hoping it's just a simple step I'm missing.
    I have a list (text file) of a group of files I wish to remove from a folder (about 650 or so files, from a folder of about 8000). I have been able to get Automator to read the text file, and show me the result.
    (Ask for Finder Items (Files & Folders), Combine Text Files (Text), Filter Paragraphs [Return Paragraphs That Are Not Empty] (text))
    This results in showing me my list of files I wish to remove.
    I don't quite get how to pass this list on to the Finder to tell it to select these files, and move them to the trash.
    Any assistance would be appreciated.

    Since your text file just has the names, an action is needed to build the complete file path. Most of Apple's text and file actions don't use variables, but a Run AppleScript action can be used to fill in the blank. Give this workflow a try (I haven't tested it with a large number of files, so I don't know how slow it will be):
    1) Ask for Finder Items {Files} -- choose the text file
    2) Combine Text FIles
    3) Filter Paragraphs {Return paragraphs that are not empty}
    4) Run AppleScript -- paste the following script:
    <pre style="
    font-family: Monaco, 'Courier New', Courier, monospace;
    font-size: 10px;
    font-weight: normal;
    margin: 0px;
    padding: 5px;
    border: 1px solid #000000;
    width: 720px;
    color: #000000;
    background-color: #FFEE80;
    overflow: auto;"
    title="this text can be pasted into an Automator 'Run AppleScript' action">
    on run {input, parameters} -- build file paths from a list of names
    set output to {}
    set SkippedItems to {}
    set TheFolder to (choose folder with prompt "Select the folder containing the files:") as text
    repeat with AnItem in the input
    try
    set AnItem to (TheFolder & AnItem)
    get AnItem as alias -- test
    set the end of the output to the result
    on error
    set the end of SkippedItems to AnItem
    end try
    end repeat
    if SkippedItems is not {} then
    display alert "Error with AppleScript action" message ((count SkippedItems) as text) & " items were skipped (file not found)"
    end if
    return output
    end run</pre>
    5) Move Finder Items to Trash

  • I used a third party programme called Mackeeper UGHHH,it moved loads of files to the trash now i do not know where they originally came from or belong!! the put back option is in grey??how can i manually put these files back where they belong?SO upset!!

    I used a third party programme called Mackeeper UGHHH SOOO Stupid i know,it moved loads of files to the trash now i do not know where they originally came from or belong!! the put back option is in grey??and will not work even when i highlight one by one!!
    how can i manually put these files back where they belong?
    i know i should have used time machine but i have not set it up and its too late for that now
    i have been researching and racking my brain on how to put these folders and contents of them back to where they once were all of the contents of the folder are still in tact AND i have not emptied my trash,my programmes and some of my apps are not working properly now...i use my computer alot for making music and things are jumbled up now...
    is there anyone out there who knows the answer to my prayers on how to go about putting these folders/files back to where they came from to restore functionality to my mac..Yes and thank u if u were going to tell me i HAVE un installed mackeeper...A very sad and upset Mac user!! Cheers Shane

    hello there thank u so much for ur reply!! ok i uninstalled mackeeper now and the put back option is still in grey im so confused...i tried restarting my computer like u said and put back still in grey??!! the files that are in my trash are everything from Accounts,address book plug-ins,address book,adobe,aim.........then stuff like apple,Audio,....to caches color pickers,colors,com.apple.TCC,to DVD player to facebook,google to ilifemedia browser to itunes to keychains to movie effects,preferences printers to skype...my Native instruments files BUT not all of them my garage band but not all of it...it seriously looks like my whole library is in the trash i tried to put things back where i THINK they belong and it just added the item or folder under where i thought it went and didnt restore functionality to for instance google chrome and all my book marks are there....they seem to be only certain things from my library that would have added some functionality to apps and programmes like my garageband is missing stuff photobooth wont work so on.......kinda looks a bit like this thats only the half of it!! Cheers shane!!!

Maybe you are looking for