[techtalk] Removing spaces form Windows File names

Jeff Dike jdike at karaya.com
Thu Jun 1 10:28:08 EST 2000


karina.hould at autodesk.com said:
> thanks for the info I will try it out, Actually what I am doing is
> Migrating everything to Linux, so all the Windows File thingy's are
> copied over to a Linux filesystem and well I kind of want to get rid
> of Windows all together. 

What do you expect to do with your Windows files once you get them onto your 
Linux filesystem with the spaces removed?  There will be a ProgramFiles 
directory with lots of stuff in it, but that will all be Windows-specific 
stuff that has no use on Linux.

> Well I must be doing something wrong, it is telling me 
> find: missing argument to '-exec' sed: -e expression #1, char 7:
> unknown option to 's' 

Good :-)  I was hoping that it wouldn't exactly work until you explained why 
you are trying to do this.

I don't really think you want to.  If you want to ditch Windows altogether and 
go with Linux, then I don't think you don't have any use for those Windows 
files and directories any more.

				Jeff







More information about the Techtalk mailing list