[SFS] Struggling with regex / file renaming
Matt James
matuse@gmail.com
Thu, 14 Jul 2016 07:33:09 -0600
--001a114fcaa8fc80dc0537988a10
Content-Type: text/plain; charset=UTF-8
On Jul 14, 2016 7:07 AM, "David L. Willson" <DLWillson@thegeek.nu> wrote:
>
> Try storing the new filename in a variable and/or add quotes.
>
> n=$( echo $f | sed ... )
> echo mv "$f" "$n"
Thanks - I'll give it a try.
>
> Also, consider asking the ladies. We have a few smart ones on the list.
My bad. I drafted the email to a select few and then changed to the list.
I failed to update the greeting, please excuse the error.
Matt
<snip>
--001a114fcaa8fc80dc0537988a10
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
<p dir=3D"ltr"></p>
<p dir=3D"ltr">On Jul 14, 2016 7:07 AM, "David L. Willson" <<a=
href=3D"mailto:DLWillson@thegeek.nu">DLWillson@thegeek.nu</a>> wrote:<b=
r>
><br>
> Try storing the new filename in a variable and/or add quotes.<br>
><br>
> n=3D$( echo $f | sed ... )<br>
> echo mv "$f" "$n"</p>
<p dir=3D"ltr">Thanks - I'll give it a try.</p>
<p dir=3D"ltr">><br>
> Also, consider asking the ladies. We have a few smart ones on the list=
.</p>
<p dir=3D"ltr">My bad.=C2=A0 I drafted the email to a select few and then c=
hanged to the list. I failed to update the greeting, please excuse the erro=
r.</p>
<p dir=3D"ltr">Matt<br></p>
<p dir=3D"ltr"><snip><br>
</p>
--001a114fcaa8fc80dc0537988a10--