deleting files from a FAT32 external drive

i recently partitioned my external drive to ntfs and fat32. whenever i delete a file form the ntfs partition it is delted permanently but when i delete a file from the fat32 partition it is not, it goes into a hiiden file called .Trashes i found this file when i plugged in my external drive into a windows xp system. so how can i delete files permanently from the fat32 partition without sending it to the .Trashes folder. Thanks

MacBook 2.0 Unibody Late 2008, Mac OS X (10.5.6)

Posted on May 13, 2009 8:07 AM

Reply
9 replies

May 13, 2009 8:26 AM in response to abdu

Those hidden files are known as "Windows ghost files" and they are indeed problematic and difficult to remove.

Run chkdsk on the FAT32 portion of the drive when connected to Windows. That usually solves the problem.
If you are familiar with the terminal, you can delete the FAT32 files directly w/o them being moved to trash.

Message was edited by: nerowolfe

May 13, 2009 9:15 AM in response to abdu

Did you empty the Trash? While each partition/drive has its own .Trash folder, they all show up in the Trash on your Dock. You then select Empty and the thing is gone. If you are using your Trash to store things, then you probably don't empty it, and thus everything, including things on the FAT32 partition, stay in their respective .Trash folders. If you prefer to keep on misusing Trash in this way then you'll probably have to resort to the Terminal to remove things. Launch Terminal, type "rm" then a space, then drag 'n drop the file you want to nuke into the Terminal window and press Return. The file will be gone. Here's an example of file on my FAT32 keydrive:

rm /Volumes/KEYDRIVE/neutralgrey.png

Presto, it is gone. Far easier is to put it in the Trash, and then simply empty the Trash.
Francine

User uploaded file
Francine
Schwieder

May 13, 2009 10:17 AM in response to abdu

Yes, just put it in the Trash and empty the Trash. The Trash icon in the Dock shows a kind of collection of all files in a .Trash folder that you have permissions to. Thus, it will show files that belong to you that you have trashed from another drive or partition, even though the file is still on the other drive, but in the invisible .Trash folder of that drive. It will NOT show files that belong to other users that are in the other user's .Trash folder, either on your startup drive, or if permissions are enabled on another drive or partition (I believe FAT32 doesn't really have true UNIX permissions, and thus doesn't support this rule--you should see all files, regardless of ownership--that are in the .Trash folder).

As to viewing hidden files, many utilities allow you turn this on, including Tinkertool and I believe OnyX. You can turn it on yourself using Terminal, but the result is an amazing amount of clutter, and an increase in the chances of having an unfortunate accident by tinkering with something you shouldn't. I believe it is better to simply use Terminal to see a list of all files, hidden and otherwise. Just use a list all command: ls, a space, the -a option, another space, then the path to what you want to see. Try this:

ls -a /

That will show you a list of everything at the root level of your startup drive.
Francine

User uploaded file
Francine
Schwieder

May 13, 2009 10:58 AM in response to abdu

Hi abdu:
Unless you are sharing files with windows 98 or earlier, your best bet would be to change the fat32
to ntfs. You seem to already be running NTFS r/w support on your Mac.
http://www.paragon-software.com/home/ntfs-mac/


You can change Fat32 to NTFS in Windows (NT) with the convert command.
http://techblissonline.com/fat32-to-ntfs-conversion-in-windows-xp-or-vista/

Kj

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

deleting files from a FAT32 external drive

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.