I have a file of unknown origin on Mac OS X that appears as ^A or \001 or ? (question mark) depending on whether I'm looking at the output of ls or git:
(.env)Davids-MacBook-Pro:scripts watson$ ls
? update_lot.py
(.env)Davids-MacBook-Pro:scripts watson$ git status
# On branch master
# Untracked files:
# (use "git add <file>..." to include in what will be committed)
#
# "\001"
nothing added to commit but untracked files present (use "git add" to track)
#(.env)Davids-MacBook-Pro:parent watson$ git status scripts/
^A .env/ update_lot.py
Does anyone know how to determine the file's origin, identity, and how to delete it? Various methods of listing it via quoting yield nothing.
ls -lshows the size,mc(if installed) or the finder show the content. – ott-- Dec 13 '12 at 14:34