I see something in my Downloads (fanned from Dock) that I didn't download, named XXkkAgSU
Dragging the icon to Terminal pastes the full path and filename as expected. But the shell can't see it:
WGroleau@MBP ~ % file /Users/WGroleau/Downloads/XXkkAgSU
/Users/WGroleau/Downloads/XXkkAgSU: cannot open `/Users/WGroleau/Downloads/XXkkAgSU' (No such file or directory)
WGroleau@MBP ~ % rm !$
rm /Users/WGroleau/Downloads/XXkkAgSU
rm: /Users/WGroleau/Downloads/XXkkAgSU: No such file or directory
After those commands, fanning Download from Dock still shows it. But a regular Finder window navigated to ~/Downloads doesn't show it. Dragging icon from fan to Trash does nothing—still in fan and not in Trash.
????
Something similar happened ages ago but that time the phantom file was in the Trash, and could be seen by shell commands, but couldn't be be deleted.
ls -dlOe@
on the file?ls
(likefile
andrm
) said there is no such file.