Announcement

Collapse
No announcement yet.

regular expression...

Collapse
X
 
  • Time
  • Show
Clear All
new posts

  • regular expression...

    Hi! People doing an awesome work...

    I would like to lowercase a lot of files using the file rename option with regular expressions... Is this possible with BC? It looks like BC doesn't support the /g switch, so is there anything I can do? Any suggestion will be appreciated...

    Thanks in advance

    MyXelf

  • #2
    Re: regular expression...

    As far as I know there isn't a way to use BC's regular expression rename to force file names to lowercase.

    If you're uploading to an FTP site, you can force the case by changing the Filename Conversion setting in the FTP section of Tools|Options.
    Chris K Scooter Software

    Comment


    • #3
      Re: regular expression...

      Depending on how many files and if you want to go through the effort, InfoZip's Zip/Unzip utilities allow you to zip the files using regex's and convert to lower case when unzipping.

      If interested: http://www.info-zip.org/pub/infozip/

      Comment


      • #4
        Re: regular expression...

        This is the process. All files are local...

        1- Remove R/O attribute from the files
        2- Rename files to lowercase
        3- Touch the files to some specific date
        4- Set the R/O attribute to the files again

        As you can see all the steps (except #2) are easily done using BC. I'll do it using Batch script... Anyway, thanks to Chris and Ernie for the effort...

        MyXelf

        Comment

        Working...
        X
        😀
        🥰
        🤢
        😎
        😡
        👍
        👎