• exec/cleanup.js

    From Rob Swindell (on Debian Linux)@VERT to Git commit to main/sbbs/master on Wed Apr 3 23:10:14 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/32066804a13c375e140c41b5
    Added Files:
    exec/cleanup.js
    Log Message:
    New script to clean-up (delete) obsolete/unnecessary files from < v3.20 SBBS

    At Keyop's request

    This script does not (yet anyway):
    - clean-up any obsoleted/renamed files in the text directories
    - clean-up old filebase files that are not stored in the default (data/dirs) ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From poindexter FORTRAN@VERT/REALITY to Rob Swindell (on Debian Linux) on Thu Apr 4 06:35:00 2024
    Rob Swindell (on Debian Linux) wrote to Git commit to main/sbbs/master <=-

    https://gitlab.synchro.net/main/sbbs/-/commit/32066804a13c375e140c41b5 Added Files:
    exec/cleanup.js
    Log Message:
    New script to clean-up (delete) obsolete/unnecessary files from < v3.20 SBBS

    At Keyop's request

    This script does not (yet anyway):
    - clean-up any obsoleted/renamed files in the text directories
    - clean-up old filebase files that are not stored in the default (data/dirs)

    That's a great idea - I've run the same \sbbs directory since I started
    in 2005 or so, lots of cruft laying around that I'm leery of deleting
    manually.



    ... Reward for a job well done: More work
    --- MultiMail/Win v0.52
    ■ Synchronet ■ .: realitycheckbbs.org :: scientia potentia est :.
  • From Digital Man@VERT to poindexter FORTRAN on Thu Apr 4 14:21:40 2024
    Re: Re: exec/cleanup.js
    By: poindexter FORTRAN to Rob Swindell (on Debian Linux) on Thu Apr 04 2024 06:35 am

    That's a great idea - I've run the same \sbbs directory since I started
    in 2005 or so, lots of cruft laying around that I'm leery of deleting manually.

    Sure, just make sure you back up first. And not *all* cruft is removed by this script.
    --
    digital man (rob)

    Breaking Bad quote #26:
    Your commercials suck ass. I've seen better acting in an epileptic whorehouse. Norco, CA WX: 60.6°F, 60.0% humidity, 0 mph WSW wind, 0.00 inches rain/24hrs ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Debian Linux)@VERT to Git commit to main/sbbs/master on Fri Apr 5 20:48:49 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/3d9f3a92ef60c6ba958b0b2b
    Modified Files:
    exec/cleanup.js
    Log Message:
    Clean up the old filebase data files from all the configured data_dir's

    De-duplicate the data_dirs first (most sysops use a single data dir for all file directories).

    Also, don't print non-existing old files when run with -q (quiet) option.
    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Debian Linux)@VERT to Git commit to main/sbbs/master on Fri Apr 5 21:19:41 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/1d0dcbacc1a30257628e4b55
    Modified Files:
    exec/cleanup.js
    Log Message:
    Add support for -v (verbose) option

    Displays messages about non-existing files when in verbose mode
    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net