20862 Views 8 Replies Latest reply: Sep 27, 2010 7:43 PM by ftrobaugh
Geoff Pitts wrote:
I am trying to delete a folder of Word documents from Backups on a WD HDD.
What app was used to make the backups?
If it was Time Machine, see #12 in the Frequently Asked Questions *User Tip,* also at the top of the +Time Machine+ forum.
If it was another app, check with the maker of that app.
I suspect you have a file that has unusual permissions, flags or extended attributes set. These would be settings you can't generally make in the Finder.
1. Open /Applications/Utilities/Terminal
2. Type or paste "ls -aleO@R " (without the quotes, capitalization matters) and DON"T hit enter.
3. Drag a single file that won't delete into the Terminal window.
4. Hit return.
You should see a line like this:
localhost:~ dan$ ls -aleO@R ~/Documents/ACFA/bash\ volunteer\ schedule.rtf
-rw-r--r--@ 1 dan staff - 703 Aug 23 2007 /Users/dan/Documents/ACFA/bash volunteer schedule.rtf
Paste it here.
Hi there - I hit the same issue today and tried to google the error but didnt get anywhere.. finally went to terminal and forced deleted the folder and all files under it. Below are steps.. hope this helps you.
- Open terminal (either through applications or just do a spotlight search)
- Type "rm -rf" in the terminal window (without the quotes and dont hit enter)
- Drag the folder you want to delete into the terminal window - the path of the folder will appear
- Make sure there isnt an extra space at the end of the path.. delete it if there is one
- Hit enter
- The folder from your WD HDD will vanish!.. magic.
Note - the above is a permanent delete option - it wont go to any trash folder.. follow the above steps only if you want to permanently delete.. good luck.
I had a similar problem trying to get rid of an empty directory. This thread gave me some important clues to solving my problem. Perhaps my problem was the same as yours. The directory I was unable to delete with Finder contained a hidden file. Once I deleted that file, everything was hunky-dory.
I opened the terminal window and used UNIX commands. The commands you will need are:
"ls" - lists all files and directories in a directory
"cd" - for "Change Directory" - this will take you to a new directory
FYI "cd .." takes you up a directory level
"rm" - for ReMove file
Here is what I did:
1) Have the directory I wanted to delete visible in Finder.
2) Open a terminal window. (go to Spotlight and type "Terminal")
3) type "cd " (Without the quotation marks. The extra space is crucial.)
4) Drag the folder-I-want-to-delete to the terminal window.
5) Hit Return key.
You should now be in the folder you want to delete. In my case, Finder told me that the directory was empty.
6) Type "ls" in the Terminal Window (w/o quotation marks)
This should also suggest that the directory is empty.
7) Type "ls -a" (which shows hidden files)
This revealed that my supposedly empty directory contained the file ".DS_Store"
8) Type "rm .DS_Store" and hit Return. (In your case, if you have a hidden file, you will want to type its EXACT name - file names are case-sensitive)
9) Once the folder-I-want-to-delete was genuinely empty, I was able to use Finder to delete my folders as I wished to.
I hope that helps.