Control characters in file names
Posted Nov 24, 2010 0:40 UTC (Wed) by
zlynx (subscriber, #2285)
In reply to:
Control characters in file names by Yorick
Parent article:
Ghosts of Unix past, part 4: High-maintenance designs
An example from my Mac laptop. It was created by a recursive wget from the terminal. This file has been in my .Trash for a year now...
$ ls
ShowXml.asp?user_group=5&user_path=user1%2F30462&userid=30462&blogname=ѩӣ֮%C0%E1
$ ls | xxd
0000000: 5368 6f77 586d 6c2e 6173 703f 7573 6572 ShowXml.asp?user
0000010: 5f67 726f 7570 3d35 2675 7365 725f 7061 _group=5&user_pa
0000020: 7468 3d75 7365 7231 2532 4633 3034 3632 th=user1%2F30462
0000030: 2675 7365 7269 643d 3330 3436 3226 626c &userid=30462&bl
0000040: 6f67 6e61 6d65 3dd1 a9d0 b8cc 84d6 ae25 ogname=........%
0000050: 4330 2545 310a C0%E1.
I
think that is just the representation the terminal sees and not what is actually in the filesystem because any attempt to delete with that name results in a file not found.
(
Log in to post comments)