[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
feature request - save string from match pattern to var
From: |
Johannes Welser |
Subject: |
feature request - save string from match pattern to var |
Date: |
Fri, 24 Sep 2010 22:19:22 +0200 |
Hi there,
I can think of a nice feature for find in combination with the exec
parameter: Save the matched string from the name parameter and save it
into a special variable, say: <>
With this you could easily do many additional tasks - like a batch
renamer for example:
find ./pictures/ -name "*.jpeg" -exec mv {} <>jpg \;
How do you like this idea? Is this already implemented?
Would you merge it into the package if I would implement it?
Kind regards,
Johannes
- feature request - save string from match pattern to var,
Johannes Welser <=