[brlug-general] Recursive batch rename
Andrew Baudouin
andrewmb at gmail.com
Tue May 13 12:27:51 CDT 2008
That's gmail style... :P
On Tue, May 13, 2008 at 10:45 AM, Ronnie Gilkey <ronnie at puryear-it.com>
wrote:
> Top posting :)
>
> Ronnie Gilkeyronnie at puryear-it.com
>
> --
> Puryear Information Technology, LLC
> Baton Rouge, LA * 225-706-8414http://www.puryear-it.com
>
> Visit http://www.puryear-it.com/publications.htm to download your free
> copies of:
>
> "Best Practices for Managing Linux and UNIX Servers"
> "Spam Fighting and Email Security in the 21st Century"
>
>
>
> Karthik Poobalasubramanian wrote:
>
> What is puryear style?
>
> Karthik
>
> On May 13, 2008, at 10:41 AM, Brad Bendily wrote:
>
>
>
> I just ran across this as I was looking for some bash syntax.
> Thought others might find it useful:
> http://www.linuxconfig.org/Bash_scripting_Tutorial
>
>
> bb
> ps, posting puryear style!
>
>
> On Tue, May 13, 2008 at 8:58 AM, Joe Fruchey <joe at fruchey.net> <joe at fruchey.net> wrote:
>
>
> This is a silly script question, but I've never done much scripting,
> so help me out here.
>
> I have this simple renaming script, say
>
> for i in $(ls); do (mv $i $i.old); done
>
> How do I make this thing run in all subdirectories? I'm guessing I
> have to define it as a function and have a script traverse the
> directories, but I don't know how.
>
> Help?
>
> -Joe
>
> _______________________________________________
> General mailing listGeneral at brlug.nethttp://mail.brlug.net/mailman/listinfo/general_brlug.net
>
> --
> Have Mercy & Say Yeah
>
> _______________________________________________
> General mailing listGeneral at brlug.nethttp://mail.brlug.net/mailman/listinfo/general_brlug.net
>
> _______________________________________________
> General mailing listGeneral at brlug.nethttp://mail.brlug.net/mailman/listinfo/general_brlug.net
>
>
> _______________________________________________
> General mailing list
> General at brlug.net
> http://mail.brlug.net/mailman/listinfo/general_brlug.net
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.brlug.net/pipermail/general_brlug.net/attachments/20080513/1edfd798/attachment.html
More information about the General
mailing list