I have copied some files from a Macbook to a flashcard, and now I want to delete them from the card using my FreeBSD machine. Some files have strange characters in them, and I am unable to delete them. I have searched the forums, but not found a solution. Here is a list of things I have tried:
I am not able to rename the file either:
I have no more tricks in my bag. Any ideas?
Code:
sverre % ls
Vivian?3
sverre % ls -l
ls: Vivian?3: Invalid argument
total 0
sverre % rm -- Vivian?3
rm: No match.
sverre % rm *
Do you really want to delete all files? [n/y] y
rm: No match.
sverre % rm ./Viv*
rm: No match.
sverre % rm -- Viv*
rm: No match.
sverre % rm -f -- Viv*
rm: No match.
sverre % find . -name Viv\* -exec rm -- {} \;
find: ./Vivian?3: Invalid argument
I am not able to rename the file either:
Code:
sverre % mv Vivian?3 Viv
mv: No match.
I have no more tricks in my bag. Any ideas?