jeltsch's blog

Deleting files with "illegal characters"

In the cross-platform environment of our university, at least three different OS connect to the smb shared group directories. Apparently Macs are able to save files with characters that are not allowed on other platforms and which cannot be easily deleted. Recently we had several files which ended with a '.' (dot) or a ' ' (space), and we were not able to remove them via the GUI. In Windows 7, I managed via the command line with:
delete "file." or
delete "file "