batch conversion of files to lower case

From: Nikolas Britton (freebsd_at_nbritton.org)
Date: 03/25/05

  • Next message: Giorgos Keramidas: "Re: batch conversion of files to lower case"
    Date: Fri, 25 Mar 2005 03:07:21 -0600
    To: "Freebsd-Newbies@Freebsd. Org" <freebsd-newbies@freebsd.org>
    
    

    Posting this here so I can find it next time I need. Converts files in a
    directory to lower-case, change "*.TTF" to whatever you want to find /
    change:

    find ./ -name "*.TTF" -exec perl -e 'rename($_, lc) || warn "$_: $!\n"
    for @ARGV' {} \;

    Alternatively you can use "find ./ -type f" to change ALL files in the
    current working directory.

    Adapted from Robin's post on this page:
    http://perlmonks.thepen.com/131861.html
    _______________________________________________
    freebsd-newbies@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-newbies
    To unsubscribe, send any mail to "freebsd-newbies-unsubscribe@freebsd.org"


  • Next message: Giorgos Keramidas: "Re: batch conversion of files to lower case"

    Relevant Pages

    • Re: top post fixer?
      ... It's kinda like a religious fanaticism... ... top posting or bottom posting? ... Because the top-posters are willing to exchange liberty to top post for ... with a subject of "unsubscribe". ...
      (Debian-User)
    • Re: how to install flash plugin for iceweasel on leny amd64?
      ... This is top posting. ... >>> iceweasel still says no suitable plugin found for flash. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ... GNU/Linux Lenny AMD64, UEFI/BIOS ...
      (Debian-User)
    • Re: how to install flash plugin for iceweasel on leny amd64?
      ... This is top posting. ... please don't send your debian-user messages to list servers other ... >>> iceweasel still says no suitable plugin found for flash. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
      (Debian-User)
    • Re: [OT] Recipe for a Debian thread that wont die
      ... Heavy Dose of Top Posting ... > I haven't been around this list long but here are the ingredients for ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
      (Debian-User)
    • Re: [SLE] Selected Webpage Citations of Copyright Law History - OT
      ... Also, please unsubscribe ... > These strong-armed tactics of posting excerpts from the newly established ... aware of the "primary focus" of this list. ... could not be achieved by writing a personal e-mail to you or any other ...
      (SuSE)