On Saturday 15 Dec 2012 21:13:45 Ralph Corderoy wrote:
> > I couldn't get that to work as advertised.  If I did it as written
> > above, it did what you said and printed out what it would do.  When I
> > removed the '-n' it refused to work at all saying that the file or
> > folder didn't exist.
> 
> I'd guess apostrophes were in the directory names leading to the files
> as well as the file's themselves?

I think that would explain it.

> > In the end, I used Sean's version, which worked fine once I'd got the
> > folder names short enough.
> 
> Being in the directory has removed the directory name and any
> apostrophe's in them from being altered by the substitution?

That sounds right too; since Sean's version wasn't recursive, I had to enter 
each folder in turn to successfully run it.  So, had I run your version from 
within each folder, I suspect it would also have worked.

-- 
                Terry Coles
                64 bit computing with Kubuntu Linux

-- 
Next meeting:  Bournemouth, Tuesday, 2013-01-08 20:00
Meets, Mailing list, IRC, LinkedIn, ...  http://dorset.lug.org.uk/
New thread on mailing list:  mailto:[email protected]
How to Report Bugs Effectively:  http://goo.gl/4Xue

Reply via email to