4 Replies Latest reply: Jan 29, 2013 8:33 AM by nameiscarl
nameiscarl Level 1 Level 1 (0 points)

Hello,

 

 

Suddenly some *attributes files started to appeared in the trash folder of my mac os x (snow leopard).

The problem is I can't delete them.

// 1. See there is a file with an invalid name 
MAC:libs cran$ ls commons-io-2.0.1.jar:com.dropbox.attributes 

// 2. That I can't delete
MAC:libs cran$ rm commons-io-2.0.1.jar\:com.dropbox.attributes
rm: commons-io-2.0.1.jar:com.dropbox.attributes: No such file or directory


// 3. The only file here
MAC:libs cran$ ls -a
.
..
commons-io-2.0.1.jar:com.dropbox.attributes

// 4. But I can't do anything with it
MAC:libs cran$ ls -l
ls: commons-io-2.0.1.jar:com.dropbox.attributes: No such file or directory

// 5. Trying to delete parent folder
MAC:iome.desktop cran$ rm -rf libs
rm: libs: Directory not empty

// 6. Trying to use wildcards
MAC:libs cran$ rm commons-*
rm: commons-io-2.0.1.jar:com.dropbox.attributes: No such file or directory

// 7. Trying to delete parent folder
MAC:iome.desktop cran$ rmdir libs
rm: libs: Directory not empty

// 8. Retrieving the inode
MAC:libs cran$ ls -i
ls: commons-io-2.0.1.jar:com.dropbox.attributes: No such file or directory
3408401 commons-io-2.0.1.jar

// 8. Remove the file by inode
MAC:libs cran$ find . -inum 3408401 -exec rm -i {} \;
remove ./commons-io-2.0.1.jar? y
find: ./commons-io-2.0.1.jar:com.dropbox.attributes: No such file or directory

 

As you can see above, I've tried many things.
I'm out of idea.

 

What do you think ?

 

Carl.

 

PS : I posted a question on stackoverflow


MacBook, Mac OS X (10.6.8)