Novell Home

(R)emove (L)anguage (D)irectories

Novell Cool Solutions: Cool Tool

Digg This - Slashdot This

In Brief

Free up space on SYS: volume.

Vitals

Product Categories:
  • NetWare
  • Open Enterprise Server
  • Functional Categories:
  • Aliases
  • Workgroup
  • Updated:14 Nov 2006
    File Size:513KB
    License:Free
    Download:/coolsolutions/tools/downloads/rld.zip
    Publisher:Bryan Keadle

    Disclaimer

    Please read the note from our friends in legal before using this file.


    Details

    It's great having an international NOS like NetWare that can accomodate many languages. However, if you have a single-language server, you can free up precious SYS: volume disk space by deleting *thousands* of unnecessary files contained within the 10's or 100's of language directories. For example, take a look at your F:\PUBLIC\NLS folder:

    F:\PUBLIC\NLS
    +---chineses
    +---chineset
    +---DEUTSCH
    +---ENGLISH
    +---espanol
    +---francais
    +---italiano
    +---portugue
    \---russki

    Look familiar? There are many such directories on your SYS volume. The more separate products you have installed on your NetWare server, the more you have of these language directories.

    I've long wanted to be able to easily delete these unnecessary language directories, so I finally created RLD.EXE (R)emove (L)anguage (D)irectories:

    Run RLD.EXE with no parameters, and you'll be *KEEP*



    A directory listing is generated. This part can take a while.

    Once the list has been generated, RLD will prompt you with a list of the language directories found.

    NOTE: Be sure to review this directory listing, and verify that a located directory isn't actually an important directory that just happens to be named the same as a language directory we are searching for. Note the window title showing the number of language directories found (103) and you are instructed to select any directories that should *NOT* be deleted. All unselected directories will be deleted.

    You are then asked to confirm that your want to delete the number of directories not selected:

    Directories will be quickly removed:

    Once complete, you are provided with a summary results message box:

    And detail is logged to (StartDir)\RLD.LST:

    I ran this on a BorderManager server and freed up 257 MB in 558 non-ENBLISH directories!

    When building my test servers in VMWare, it's good to get rid of these directories to keep the size of the disk files to a minimum. Also, you can run these against your NetWare product install directories (client, NetWare, etc.).

    RLD /?

    (R)emove (L)anguage (D)irectories

    SYNTAX: RLD (StartDir) (Language_to_Exclude) (AUTO)


    EG: RLD \\Server\sys ENGLISH


    Scans specified directory path for language directories to remove. Current language directories identified include:

    ENGLISH (EN) ESPANOL(ES)
    FRANCAIS (FR) ITALIANO (IT)
    PORTUGUE (BR) DEUTSCH (DE)
    NIHONGO (JA) RUSSKI (RU)
    KOREAN (PT) CHINESES (ZH_CN)
    CHINESET (ZH_TW)

    Deleted directories are logged to (StartDir)\RLD.LST


    Note: To free up even more space consumed by language FILES, check out this tip:
    http://www.novell.com/coolsolutions/tools/16099.html

    11-14-06 Update:

    RLD.EXE (v1.1) has been updated to include additional (short) language directories:
    cs
    ct
    ko
    zh
    pl
    hu
    da
    fi
    cs
    ko
    nl
    no
    sv

    (Thanks to Richard Beels for identifying these additional language directories)

    Novell Cool Solutions (corporate web communities) are produced by WebWise Solutions. www.webwiseone.com

    © 2014 Novell