Path: utzoo!mnetor!uunet!lll-winken!tekbspa!joe From: joe@tekbspa.UUCP (Joe Angelo) Newsgroups: comp.binaries.ibm.pc Subject: Re: Fix filenames on Unix Message-ID: <180@tekbspa.UUCP> Date: 23 Apr 88 02:52:09 GMT References: Organization: Teknekron Software Systems, San Jose, CA. Lines: 20 in article , W8SDZ@SIMTEL20.ARPA (Keith Petersen) says: > > If you have ever extracted files from an MSDOS ARC on Unix you know > the frustration of ending up with all those upper case filenames. > This program will correct upper-case filenames to lower in addition to > its stated purpose of handling Tops-20 filenames. It won't touch > normal filenames on Unix, just those with names that are not normally > used on Unix. It does a rename function. And if you don't have a compiler, pipe the output of this to the shell... /bin/ls $* >/tmp/XX$$ tr '[A-Z]' '[a-z]' < /tmp/XX$$ > /tmp/YY$$ echo 'set -v' paste /tmp/XX$$ /tmp/YY$$ | sed 's/^/mv /' rm -f /tmp/XX$$ /tmp/YY$$ -- "I'm trying Joe Angelo -- Senior Systems Engineer/Systems Manager to think at Teknekron Software Systems, Palo Alto 415-325-1025 but nothing happens!" uunet!tekbspa!joe -OR- tekbspa!joe@uunet.uu.net