file deletion challenge

4 posts / 0 new
Last post
Tom Owad's picture
Offline
Last seen: 7 hours 37 min ago
Joined: Dec 16 2003 - 15:14
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: 3 days 11 hours ago
Joined: Dec 19 2003 - 17:34
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: 1 day 20 hours ago
Joined: Feb 9 2006 - 12:41
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
Offline
Last seen: 7 hours 37 min ago
Joined: Dec 16 2003 - 15:14
Re: file deletion challenge

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

Log in or register to post comments