Trouble deleting trash files from an external drive?

They are from my passport for MAC.
I have tried doing from terminal as well and most did delete however there are a lot of files that won't. I am getting a message pop up then when I click continue it just disappears and trash is still full.  Would love some help on this please.

Apparently;
error
-50
paramErr
error in user parameter list
Not sure what it means though.
I usually use rm -rf as it ignores permissions errors I think. Or at least attempts to.
The man page for the RM command is below.
NAME
     rm, unlink -- remove directory entries
SYNOPSIS
     rm [-dfiPRrvW] file ...
     unlink file
DESCRIPTION
     The rm utility attempts to remove the non-directory type files specified
     on the command line.  If the permissions of the file do not permit writ-
     ing, and the standard input device is a terminal, the user is prompted
     (on the standard error output) for confirmation.
     The options are as follows:
     -d          Attempt to remove directories as well as other types of
                 files.
     -f          Attempt to remove the files without prompting for confirma-
                 tion, regardless of the file's permissions.  If the file does
                 not exist, do not display a diagnostic message or modify the
                 exit status to reflect an error.  The -f option overrides any
                 previous -i options.
     -i          Request confirmation before attempting to remove each file,
                 regardless of the file's permissions, or whether or not the
                 standard input device is a terminal.  The -i option overrides
                 any previous -f options.
     -P          Overwrite regular files before deleting them.  Files are
                 overwritten three times, first with the byte pattern 0xff,
                 then 0x00, and then 0xff again, before they are deleted.
     -R          Attempt to remove the file hierarchy rooted in each file
                 argument.  The -R option implies the -d option.  If the -i
                 option is specified, the user is prompted for confirmation
                 before each directory's contents are processed (as well as
                 before the attempt is made to remove the directory).  If the
                 user does not respond affirmatively, the file hierarchy
                 rooted in that directory is skipped.
     -r          Equivalent to -R.
     -v          Be verbose when deleting files, showing them as they are
                 removed.
     -W          Attempt to undelete the named files.  Currently, this option
                 can only be used to recover files covered by whiteouts.
     The rm utility removes symbolic links, not the files referenced by the
     links.
     It is an error to attempt to remove the files ``.'' or ``..''.
     When the utility is called as unlink, only one argument, which must not
     be a directory, may be supplied.  No options may be supplied in this sim-
     ple mode of operation, which performs an unlink(2) operation on the
     passed argument.
     The rm utility exits 0 if all of the named files or file hierarchies were
     removed, or if the -f option was specified and all of the existing files
     or file hierarchies were removed.  If an error occurs, rm exits with a
     value >0.
NOTE
     The rm command uses getopt(3) to parse its arguments, which allows it to
     accept the `--' option which will cause it to stop processing flag
     options at that point.  This will allow the removal of file names that
     begin with a dash (`-').  For example:
           rm -- -filename
     The same behavior can be obtained by using an absolute or relative path
     reference.  For example:
           rm /home/user/-filename
           rm ./-filename

Similar Messages

  • HT2237 I am trying to delete unwanted files from an external drive and am getting error code -50.  What do I need to do to clear this and delete the files?

    Can someone tell me how to clear this error.  I am trying to delete unwanted files from an external drive and get error code -50.  How do I clear this so I can delete these files?  Thanks.

    Re: Error Code-50 when trying to copy or delete files on external hard drive

  • .DS_store won't let me move files from one external drive to another

    I am trying to move some music files from one external harddrive to another.  They are both connected to my mac mini.
    In the "from" harddrive I have a folder with a bunch of music files in it and it also has a new file in it called DS_store. When I open this folder and select all, it naturally selects all of my music files and this DS_store file.  When I try to drag all of this to the "destination" harddrive I open the folder that I want to drag them to which already has some music and it has the DS_store file too, it won't let me drag the files to it   It says something like there is already a DS_store file there.  So I tried deleting that file from each external drive and it just reappears.
    If I create an empty folder in the destination drive, I can drag all of the files to it.  The problem is I want the new files to be in the same folder with the older files.  
    In addition there are a few other ghost type files that have shown up too.
    Any suggestions would be welcome.  Thanks.

    If you're copying from a FAT-formatted volume, do as below.
    Back up all data.  
    Select the text on the line below by dragging across it. Don't include the blank space at the end of the line. Only the text should be highlighted.
    dot_clean -m
    Copy the selected text to the Clipboard by pressing the key combination command-C.  
    Launch the Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Terminal in the page that opens.
    Now switch to the Finder and and select the icon of the FAT volume. Drag into the Terminal window. More text will be added to what you entered.
    Click in the Terminal window to activate it, then press return.
    The command may take a noticeable amount of time to run. Wait for a new line ending in a dollar sign (“$”) to appear. Then quit Terminal and try the copy again.

  • HT2674 I have an iMac purchased in May 2011.  OSX Lion 10.7.3.  I deleted backup file from the external hard drive. Now, the trash can will not empty some of the files deleted.  File folder: "Core Services" contains a locked file: "boot.efi".  It will not

    I have an iMac purchased in May 2011.  OSX Lion 10.7.3.  I deleted backup file from the external hard drive which operates from Time Machine.
    Now, the trash can will not empty some of the files deleted from the backup harddrive.
    The trash contains-- File folder: "Core Services" which contains a locked file: "boot.efi". 
    It will not delete.
    How do I get the trash can empty of these files?

    Yes, the Old Master file has a folder for each year where I find all photos from that specific year. I am attaching a screen shot of the file.
    In the meantime i have managed to download all photos (it did not download any video files though in mpg, avi, 3gp, m4v,mp4 and mov format) to a new iphoto library. Unfortunately the photos are quite mixed and often doubled up. I ma considering to purchase iphoto library which checks all duplicates in iphoto. this will save me a lot of time. What do you think?

  • Delete the file from the external hard drive

    deleted adobe reader 10, delete the file from the external hard drive. how to restore

    What is your operating system & version?
    How did you "delete" Adobe Reader?
    What "file" did you delete?
    What do you want to restore?

  • Delete  flat file from the local drive after downloading in the program

    how to <b>delete flat file from the local drive after downloading in the program</b>
    I am using gui_upload to upload flat file data in internal table. and after that i dont want that flat file in the disk. i want to delete it.

    Once the file has been uploaded into the internal table call the<b> FILE_DELETE </b>method of the class  <b>CL_GUI_FRONTEND_SERVICES</b>.
    DATA: v_rc TYPE i.
    CALL METHOD cl_gui_frontend_services=>file_delete
    EXPORTING
    filename = 'C:\TEMP\MATERIAL.TXT'
    CHANGING
    rc = v_rc
    EXCEPTIONS
    file_delete_failed = 1
    cntl_error = 2
    error_no_gui = 3
    file_not_found = 4
    access_denied = 5
    unknown_error = 6
    OTHERS = 7.
    IF sy-subrc <> 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
    WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ENDIF.
    Regards
    Kathirvel

  • Moving LR files from one external drive to another

    How do I move LR image files from one external drive to another external drive?

    Move the photos using your operating system and then re-connect in Lightroom following these instructions: Adobe Lightroom - Find moved or missing files and folders
    Do not use this as an opportunity to re-arrange folders or move photos from folder to folder. Just move the entire "tree" of folders.

  • HT2518 how do i or can i drag and drop files from one external drive to another ???HOW

    how do i drag and drop files from one external drive to another, i cannt get both drives to open up. only one at a time.. i have alot to learn i know but that is where i am at the time...

    You posted here so would assume you are also talking about running Windows.
    Are the drives NTFS and use on Windows?
    Are they Mac HFS formatted?
    You likely will need NTFS for OS X in one case. to mount PC and use under Mac OS Lion
    MacDrive to mount and WRITE to HFS drives under Windows

  • How do I open files from an external drive?  It's plugged into the second slot to the end.

    How do I open files from an external drive?  It's plugged into the second slot to the end.  Did I plug it into the right place and how do I find the drive when trying to attach a file in an email? 

    Files on an external hard drive open just like files on the internal drive - but I get the idea that you are having a problem just finding and seeing those files. Is that correct?
    What operating system is running on your MacBook?

  • How do I transfer files from an external drive to my IPad air

    How do I transfer files from an external drive to my new IPad air with wifi?

    Does your hard drive have an app? there needs to be some soft of app to facilitate the data transfer.

  • Cannot Delete .trash file of an external hard drive

    I am having issues deleteing a .trash file from my Western Digital external hard drive.
    I moved 500GB of my photos from that hard drive to a desktop hard drive, they copied to that hard drive and then went to delete the files off my WD. Half way through the deleting it I knocked the hard drive and it ejected. Now it is showing a .trash file that is about 400gb on my WD and if I go to right click delete I get an error saying "cannot delete an unexpected error occured (error code - 50) I had a bit of a look and it looks like I only have the permission to write on it, so I went into get info and change it and the file size went from 400gb to 0kb.
    Any suggestions?
    Ta

    Try holding the option key and Finder-Empty Trash
    Try repairing the disk with Disk Utility
    See: http://www.thexlab.com/faqs/trash.html

  • I can't delete any files from my external hard drives since I tried to delete backups. I can't return backups or delete anything now.

    It started when I tried to delete back up files. It wouldn't let me delete them. Came up with "BootX" is locked, then "boot.efi" is locked. Holding down Option while emptying the trash didn't do anything. It wouldn't let me put them back in Backups.backupdb so I just left them in the trash.
    But now I can't delete any files from either of my external hard drives. please help!

    See Pondini's TM FAQs for starters.

  • Why is it that when i trash files from my system drive it asks for my permission but doesn't show up in the trash bin?

    Hey guys, need help.
    I've been trying to figure out why everytime i delete files from my system drive, it doesnt show up in my trash bin.
    Has anyone encountered the same issue?
    Would appreciate any help guys.
    Thanks.

    1. Triple-click the line below to select it:
    ~/.Trash
    2. Right-click or control-click the highlighted line and select
    Services ▹ Show Info
    from the contextual menu.* An Info dialog should open.
    3. The dialog should show "You can read and write" in the Sharing & Permissions section. If that's not what it shows, click the padlock icon in the lower right corner of the window and enter your password when prompted. Use the plus- and minus-sign buttons to give yourself Read & Write access and "everyone" No Access. Delete any other entries in the access list.
    4. In the General section, uncheck the box marked Locked if it's checked.
    5. From the action menu (gear icon) at the bottom of the dialog, select Apply to enclosed items and confirm.
    6. Close the Info window and test.
    *If you don't see the contextual menu item, copy the selected text to the Clipboard (command-C). Open a TextEdit window and paste into it (command-V). Select the line you just pasted and continue as above.

  • Having trouble deleting movie files from itunes

    I'm curious as to how I delete movies from itunes. I imported these clips of a movie into itunes and would now like to remove them but i can't seem to do that. I tried deleting the files off my hard drive. itunes recognizes that i deleted them but they still appear in the Video menu of itunes. Any help will be appreciated.
      Windows XP  

    Hi, you can delete movies or music tracks from iTunes by selecting the file in the iTunes library and pressing delete, and then clicking the "Move to Trash" button in the confirmation box that pops up.
    Andrew
    (p.s. Welcome the Apple discussion boards!)

  • How do i move a file from one external drive to another

    This is my first Mac computer and I have no idea how to move/copy a file from one external hard drive to another? It won't let me drag and drop from one Finder window to another and there is no copy/paste option on the left mouse click.

    mediamagnate03 wrote:
    This is my first Mac computer and I have no idea how to move/copy a file from one external hard drive to another? It won't let me drag and drop from one Finder window to another and there is no copy/paste option on the left mouse click.
    That is because it is on the Right Click, and the menu.

Maybe you are looking for