• FTN shell script.

    From Joseph Larsen@1:154/700 to All on Wed Jan 10 02:07:07 2018
    I wrote a shell script to delete outgoing blank message files before they're sent out. I'm wondering what the file size should be for determining which file(s) should be deleted. I'm thinking maybe 4 or 5kb. Does that sound right?

    find /home/imp/hpt \( -name '*.mo[0-9]' -o -name '*.tu[0-9]' -o -name '*.we[0-9]' -o -name '*.th[0-9]' -o -name '*.fr[0-9]' -o -name '*.sa[0-9]' -o -name '*.su[0-9]' \) -size -4k -delete

    Thanks,
    ignatius
    --- SBBSecho 3.03-Linux
    * Origin: thePharcyde_ telnet://bbs.pharcyde.org (Wisconsin) (1:154/700)
  • From Paul Quinn@3:640/384.125 to Joseph Larsen on Wed Jan 10 19:09:51 2018
    Hi! ignatius [Joseph Larsen],

    On 01/10/2018 06:07 PM, you wrote:

    I wrote a shell script to delete outgoing blank message files before
    they're sent out. I'm wondering what the file size should be for determining which file(s) should be deleted. I'm thinking maybe 4 or
    5kb. Does that sound right?

    I have a tosser that likes to do that once a day: zero byte files.

    Leave any .try files alone, unless they're really old.

    Cheers,
    Paul.

    --- Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Thunderbird/31.4.0
    * Origin: Paul's Puppy 4.2.1 multiuser vBox - M'boro, Qld, OZ (3:640/384.125)
  • From Michael Dukelsky@2:5020/1042 to Joseph Larsen on Wed Jan 10 16:04:52 2018
    Hello Joseph,

    Wednesday January 10 2018, Joseph Larsen wrote to All:

    I wrote a shell script to delete outgoing blank message files before they're sent out. I'm wondering what the file size should be for determining which file(s) should be deleted. I'm thinking maybe 4 or
    5kb. Does that sound right?

    H-m-m, pkt header is 34 bytes. What do you mean by saying 'blank message' of the size 4k? If you like to write very long messages that are more than 4 kb after compression, then it is ok.

    Michael

    ... node (at) f1042 (dot) ru
    --- GoldED+/LNX 1.1.5-b20170303
    * Origin: Moscow, Russia (2:5020/1042)