file deletion challenge

4 posts / 0 new
Last post
Tom Owad's picture
Online
Last seen: 1 hour 7 min ago
Joined: Dec 16 2003 - 15:14
Posts: 3349
file deletion challenge

On an HFS+ formatted USB thumb drive on Mac OS X 10.11, create a file with the following name:

test␀.rtf

(Note the 'nul' in the middle of the filename. It's U+2400.)

Now delete that file. If anybody finds a way, I'm very curious to hear it!

Dr. Webster's picture
Offline
Last seen: 19 hours 47 min ago
Joined: Dec 19 2003 - 17:34
Posts: 1747
Re: file deletion challenge

drwebster@linuxmint-vm ~ $ sudo mount -t hfsplus -o remount,force,rw /dev/sdb2 /media/drwebster/usbflashdrive
drwebster@linuxmint-vm ~ $ cd /media/drwebster/usbflashdrive
drwebster@linuxmint-vm /media/drwrbster/usbflashdrive $ ls
othercrap test␀.rtf
drwebster@linuxmint-vm /media/drwrbster/usbflashdrive $ sudo rm test␀.rtf
[sudo password for drwebster]:
drwebster@linuxmint-vm /media/drwrbster/usbflashdrive $ ls
othercrap

(you didn't say it had to be *deleted* in OS X :ebc: )

resman's picture
Offline
Last seen: 3 weeks 2 days ago
Joined: Feb 9 2006 - 12:41
Posts: 217
Re: file deletion challenge

Are you able to rename it from the Finder? Get Info on the file, change its name to something simple, then delete.

Tom Owad's picture
Online
Last seen: 1 hour 7 min ago
Joined: Dec 16 2003 - 15:14
Posts: 3349
Re: file deletion challenge

Nope. You can't even delete or rename by inode number.

Log in or register to post comments