._ files are making me crazy

Hi guys,
Is there any way to prevent to make ._ files?
as I can delete those by
find . -name ' ._' -delete
but I'm tired.
I want to prevent to create automatically those.
if I do something with pravat.abc file, it makes ._pravat.abc and hidden, it makes me crazy, when I try to run Grails.

please let me know if somebody knows solution for this

Mac Book Pro, Mac OS X (10.6.4)

Posted on Sep 30, 2010 10:57 AM

Reply
12 replies

Sep 30, 2010 11:19 AM in response to Pravat

It sounds like you may have made invisible visible at some point, perhaps with a third party utility?Launch Applications/Utilities/Terminal and copy & paste this command at the prompt.
defaults write com.apple.finder AppleShowAllFiles False; killall Finder
. Then press return and after Finder refreshes, quit Terminal.


User uploaded file
-mj

Sep 30, 2010 12:39 PM in response to Pravat

Those files are generated when Mac files are saved to a non-Mac disk format.
See
[Mac OS X: Apple Double Format Creates File Name With the Prefix '._'*|http://support.apple.com/kb/TA20578]
and
[AppleSingle and AppleDouble formats|http://en.wikipedia.org/wiki/AppleSingle and_AppleDoubleformats]

They are not normally visible as separate files in Finder even if Finder is set to show hidden files.

If you are sharing files with a non-Mac system, see
[BlueHarvest|http://www.zeroonetwenty.com/blueharvest4>
Removing the resource fork can cause issues when back in a Mac system, depending on what the files are being used for.

Sep 30, 2010 10:28 PM in response to Pravat

Thanks for all about quick response cheers. 🙂

as I am being able to know about creation of file is all about disk format.
I'm using Fat system USB drive.

But my problem is , I'm trying to run grails "grails test-app -integration"
grails gives me error about ._ files. saying that those class are not exists.

Oct 1, 2010 9:12 AM in response to Pravat

Pravat wrote:
Yes, I'm sharing with PC,
Can I use HFS+ on windows 7? if yes, I don't mind to make that.


You can install MacDrive on the PC. See: http://www.mediafour.com/products/macdrive/

This is a filesystem driver for Windows that allows the Windows computer to locally mount a Mac HFS+ disk (e.g. via USB or Firewire, etc.) and to have full read & write capabilities just like any native filesystem.

The downsides are (a) it's not free (list is about $50 but I've noticed you can shop around for better deals... Newegg has it for about $38 which seems to be the best price I've stumbled across.) and (b) you'd need a copy for every machine that might need to use the disk. If you just own one PC then this isn't so bad. My time is valuable and I'd spend $38 in a heartbeat to make the problem go away. But I work in an environment where we occasionally have to share very large files among a mix of both PC & Mac users. In that scenario, everyone with a PC would need to buy MacDrive (not very practical).

The Mac will mount a Windows NTFS filesystem in 'read-only' mode. My understanding of the situation is that Microsoft allows anyone to implement read-only NTFS without paying royalties, but if you want read-write capability, you have to pay. Apple similarly charges royalties for HFS+. When you 'buy' a driver such as MacDrive you are covering the licensing royalty. This is why it is unlikely that you'd find a free or open-source driver.

Oct 1, 2010 9:52 AM in response to Pravat

You could also try NTFS on your external for file sharing. These add ons for OS X allow both read and write capabilities.

A commercial product is Paragon NTFS for Mac.

There are now two versions of the open source NTFS-3G software for OS X. NTFS-3G is the free version, which only works with the 32 bit boot kernel. This version also requires installing MacFUSE. A separate component needed for the free NTFS-3G software.

The company Tuxera, which provides the funding the NTFS-3G has their own paid version. Tuxera NTFS for Mac. This version supports both 32 and 64 bit boot kernels. But NOT the newer 64 bit only kernel of some newer Macs. Tuxera's version eliminates the need for the separate MacFUSE installation, and is faster at accessing NTFS drives.

Nov 12, 2010 5:55 AM in response to Kurt Lang

I would develop on the main HFS+ partition in something like ~/grails/<projectname>

and use a source control system to handle the sharing of code, its the 21st century dude, you shouldn't need to use USB disks for this kind of stuff and if there is a team of people using the source code use source control, if your just running it somewhere else give them the .war file.

I use grails on a mac and the designers use TortoiseSVN on windows7 to get the code base out and run grails test-app to check out their CSS etc, its works seamlessly and we get version control for free.

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.

._ files are making me crazy

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