sean finney on 22 Feb 2006 15:49:39 -0000


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] bash script help needed


On Wed, Feb 22, 2006 at 09:58:32AM -0500, Michael C. Toren wrote:
> Despite the fact that you are removing spaces, it sounds like there are
> other whitespace characters present in the filenames you're attempting to
> rename, which when passed unquoted on the command line are being parsed

actually, if you look again you'll see that $OLD is on the cmdline
and contains what it always has:

	OLD="unclean name"
	NEW="unclean_name"
	mv $OLD $NEW

will result in

	mv unclean name unclean_name


	sean

Attachment: signature.asc
Description: Digital signature

___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug