[plug] Mass moving files with a script

Michael Holland myk at myk.id.au
Wed Dec 6 08:24:47 WST 2006


On Wed, 6 Dec 2006, Ben Woods wrote:

> in the filenames etc... anyone good at bash scripting that can help me
> out? The bit I am struggling with is really the string recognition /
> analysis at the start.

You need "regular expressions", one of the more amazingly useful things in
Unix.
 I'd use Perl, which has the best pattern matching, but some claim that
bash now has in-process regex capability. (ie no need to 'grep')

http://en.wikipedia.org/wiki/Bash#In-process_regular_expressions




More information about the plug mailing list