On Tue, 28 Dec 2004 18:52, Andy Leach wrote: > > However, totaly bending my brain out of shape this afternoon & evening > are 1/ regex - I have files named things like "04122801 Andys great > waterfall pic.jpg" - which is YYMMDD followed by a 2 digit number to > order photos from a particular day and then a space followed by 5-30 > alpha and space characters followed by ".jpg". I believe that I have to > pass this out to perl ( perl -e ?), sed or awk but am thoroughly > flummoxed by how to get it into or out of those programs. I need this to > check the filenames are valid, to rename them and to dump out the string > to a file. >
> Andy Great bash script for renaming files with spaces in the file name; http://tldp.org/LDP/abs/html/contributed-scripts.html#BLANKRENAME Cheers Ross Drummond
