Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

MrFusion

macrumors 6502a
Original poster
Jun 8, 2005
613
0
West-Europe
How can I forcibly remove .._. files from my time capsule?
These appeared after a temporary backup of a windows usb drive. Now I want to get rid of them. It is not tidy and driving me nuts. They are over 23000 of them. :mad:

sudo rm -rf .._.* is not working.
 
How can I forcibly remove .._. files from my time capsule?
These appeared after a temporary backup of a windows usb drive. Now I want to get rid of them. It is not tidy and driving me nuts. They are over 23000 of them. :mad:

sudo rm -rf .._.* is not working.

Dot underscore files are a curse. OS X creates them all over the place to contain "meta data" and they are most commonly created on Windows volumes which OS X information is copied to. If they are sitting on your time capsule, chances are they were copied there and really originated on whatever information was being copied to your time capsule. Check there first. In finder, make sure show hidden files is enabled.

As for deleting them, it sounds like you are on the right track with the sudo rm but anything starting with .. is usually the parent directory. Are you sure that's the file name and it's not simply ._something.something? In that case sudo \rm -rf ._* should work. But rm -rf .._.* might not find anything.
 
Dot underscore files are a curse. OS X creates them all over the place to contain "meta data" and they are most commonly created on Windows volumes which OS X information is copied to. If they are sitting on your time capsule, chances are they were copied there and really originated on whatever information was being copied to your time capsule. Check there first. In finder, make sure show hidden files is enabled.
No other files were found.
As for deleting them, it sounds like you are on the right track with the sudo rm but anything starting with .. is usually the parent directory. Are you sure that's the file name and it's not simply ._something.something? In that case sudo \rm -rf ._* should work. But rm -rf .._.* might not find anything.

Unfortunately, this is not working. Also, these files are zero kb.

sudo rm -rf .._.Trashes.*
-bash: /usr/bin/sudo: Argument list too long

The use of wildcards ?* has no effect either.
 
Test Wildcard:
find . -name '..*_*' -print0 | xargs -0 echo

Run Delete:
find . -name '..*_*' -print0 | xargs -0 rm -rvf
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.