jeltsch's blog

Windows XP and deleting files with invalid filenames (The system cannot find the path specified)

I was fighting for several days to delete a file in Windows XP that started with dot underscore (._). The message was always: "The system cannot find the path specified". Nothing worked. No safe mode, no command line, no special syntax. The Microsoft Knowledge Base addresses the problem, but instead of pointing to an easy solution it gives lots of useless and even wrong information, e.g the Windows XP Resource Kit didn't contain the RM.EXE program, that was supposed to be able to delete those files with "weird" file names.

Exporting automounted partitions via nfs

We are accessing data from our server via nfs. The nfs exports are automounted on the nfs clients' computers. It works fine. However there is a partition (a whole drive in fact) on our server that is automounted on demand. We wanted this hard drive to unmount automatically if it is not needed to save energy and reduce noise levels. When I include the mountpoint of this partition in /etc/exports everything seems to work fine, but automounting this export on a client machine fails. It can still be mounted manually though with a regular mount command.

Converting Mac text files into UNIX text files (tr)

If you though text files are all the same, you are wrong. Mac text file lines end with a carriage return (CR, ASCII 13), UNIX text file lines with a line feed (LF, ACII 10) and Microsoft Windows text file lines end with a combination of 2 characters: CR followed by LF. From Mac to Unix you convert with this command line: tr '\015' '\012' < in_file > out_file

Pages