• How can I remove only the messages that is marked as deleted?

    From plt@VERT/SBBSVA to All on Thu Jul 15 02:18:49 2021
    What option do I use to remove only the messages marked as deleted in the subs please?

    usage: smbutil [-opts] cmd <filespec.shd>

    cmd:
    l[n] = list msgs starting at number n
    r[n] = read msgs starting at number n
    x[n] = dump msg index at number n
    v[n] = view msg headers starting at number n
    V[n] = view msg headers starting at number n verbose
    i[f] = import msg from text file f (or use stdin)
    e[f] = import e-mail from text file f (or use stdin)
    n[f] = import netmail from text file f (or use stdin)
    h = dump hash file
    s = display msg base status
    c = change msg base status
    R = re-initialize/repair SMB/status headers
    D = delete and remove all msgs (not reversable)
    d = flag all msgs for deletion
    u = undelete all msgs (remove delete flag)
    m = maintain msg base - delete old msgs and msgs over max
    p[k] = pack msg base (k specifies minimum packable Kbytes)
    L = lock a msg base for exclusive-access/backup
    U = unlock a msg base

    [n] may represent 1-based message index offset, or
    [#n] actual message number, or
    [-n] message age (in days)

    opts:
    -c[m] = create message base if it doesn't exist (m=max msgs)
    -a = always pack msg base (disable compression analysis)
    -i = ignore dupes (do not store CRCs or search for duplicate hashes)
    -d = use default values (no prompt) for to, from, and subject
    -l = LZH-compress message text
    -o = print errors on stdout (instead of stderr)
    -p = wait for keypress (pause) on exit
    -! = wait for keypress (pause) on error
    -b = beep on error
    -r = display raw message body text (not MIME-decoded)
    -C = continue after some (normally fatal) error conditions
    -t<s> = set 'to' user name for imported message
    -n<s> = set 'to' netmail address for imported message
    -u<s> = set 'to' user number for imported message
    -f<s> = set 'from' user name for imported message
    -e<s> = set 'from' user number for imported message
    -s<s> = set 'subject' for imported message
    -z[n] = set time zone (n=min +/- from UT or 'EST','EDT','CST',etc)
    -U[n] = set umask to specified value (use leading 0 for octal, e.g. 022)
    -# = set number of messages to view/list (e.g. -1) bbs@sbbsdynunet:/sbbs/exec$


    ./smbutil D /sbbs/data/*.shd

    ---
    þ Synchronet þ sbbs.dynu.net 2025
  • From Digital Man@VERT to plt on Thu Jul 15 00:25:46 2021
    Re: How can I remove only the messages that is marked as deleted?
    By: plt to All on Wed Jul 14 2021 07:18 pm

    What option do I use to remove only the messages marked as deleted in the subs please?

    The "maintenance" ('m') command:

    usage: smbutil [-opts] cmd <filespec.shd>

    cmd:

    m = maintain msg base - delete old msgs and msgs over max
    --
    digital man

    This Is Spinal Tap quote #20:
    Well, I'm sure I'd feel much worse if I weren't under such heavy sedation. Norco, CA WX: 85.1øF, 49.0% humidity, 18 mph NE wind, 0.00 inches rain/24hrs ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net