• addfiles and default upload user

    From waldo kitty@1:103/705 to All on Sun Sep 30 12:04:41 2018
    would this command line work properly to add files only in one group with the specified uploader name?

    /sbbs/exec/addfiles fido-* -sz -x "File Distribution"

    thanks...

    ---
    * Synchronet * SouthEast Star Mail HUB - SESTAR
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to waldo kitty on Sun Sep 30 15:48:47 2018
    Re: addfiles and default upload user
    By: waldo kitty to All on Sun Sep 30 2018 12:04 pm

    would this command line work properly to add files only in one group with the specified uploader name?

    /sbbs/exec/addfiles fido-* -sz -x "File Distribution"

    What's the "fido-*" supposed to do? Since '*' is expanded to filenames by the typic Unix shell, that's probably not what you mean to do.

    digital man

    This Is Spinal Tap quote #44:
    It really, it does disturb me, but i'll rise above it; I'm a professional. Norco, CA WX: 83.4oF, 48.0% humidity, 9 mph ENE wind, 0.00 inches rain/24hrs --- SBBSecho 3.06-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Al@1:103/705 to waldo kitty on Sun Sep 30 16:23:46 2018
    Re: addfiles and default upload user
    By: waldo kitty to All on Sun Sep 30 2018 12:04 pm

    would this command line work properly to add files only in one group with the specified uploader name?

    /sbbs/exec/addfiles fido-* -sz -x "File Distribution"

    The -s parameter will cause addfiles to search the directory for files in that directory that are not in the filebase. Usefull along with -z to get the file description from the diz if there is one.

    addfiles - -sz -x "File Distribution" will search all directories for files not in your database and import them with the file_id.diz description (if there is one) with the uploader name set to File Distribution. Without -sz only files in a files.bbs will be imported with descriptions from the files.bbs. -z can be used also when importing from files.bbs.

    I normaly use the file area internal code if I just want to import in a certain directory.

    addfiles fido-nodelist -id -x "-> ADDFILES <-"

    The -i parameter will include the upload in your statistics and -d will delete the files.bbs after the import is done.

    Ttyl :-),
    Al

    ... The worst thing about censorship is ##########.

    ---
    * Synchronet * The Rusty MailBox - Penticton, BC Canada
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From waldo kitty@1:103/705 to Digital Man on Sun Sep 30 19:46:49 2018
    Re: addfiles and default upload user
    By: Digital Man to waldo kitty on Sun Sep 30 2018 15:48:47

    /sbbs/exec/addfiles fido-* -sz -x "File Distribution"

    What's the "fido-*" supposed to do? Since '*' is expanded to filenames by the typic Unix shell, that's probably not what you mean to do.

    i forgot about shell expansion... what i wanted to do was for addfiles to scan only the areas that start with "fido-"... that way i don't have to figure out how to manually process some 250+ areas...

    ---
    * Synchronet * SouthEast Star Mail HUB - SESTAR
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to waldo kitty on Sun Sep 30 17:21:21 2018
    Re: addfiles and default upload user
    By: waldo kitty to Digital Man on Sun Sep 30 2018 07:46 pm

    Re: addfiles and default upload user
    By: Digital Man to waldo kitty on Sun Sep 30 2018 15:48:47

    /sbbs/exec/addfiles fido-* -sz -x "File Distribution"

    What's the "fido-*" supposed to do? Since '*' is expanded to filenames by the typic Unix shell, that's probably not what you mean to do.

    i forgot about shell expansion... what i wanted to do was for addfiles to scan only the areas that start with "fido-"... that way i don't have to figure out how to manually process some 250+ areas...

    If all of the areas in the same file library, then you can use "-l <lib>", where <lib> is the library's short name.

    digital man

    Synchronet "Real Fact" #60:
    Free dynamic yourbbs.synchro.net hostnames were made first available in 2003. Norco, CA WX: 79.4oF, 48.0% humidity, 11 mph ENE wind, 0.00 inches rain/24hrs --- SBBSecho 3.06-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From mark lewis@1:3634/12.73 to Digital Man on Mon Oct 1 06:11:08 2018

    On 2018 Sep 30 17:21:20, you wrote to waldo kitty:

    i forgot about shell expansion... what i wanted to do was for addfiles
    to scan only the areas that start with "fido-"... that way i don't have
    to figure out how to manually process some 250+ areas...

    If all of the areas in the same file library, then you can use "-l
    <lib>", where <lib> is the library's short name.

    is library the same as group?

    i have the default file areas and i added a new group, File Distribution Network (internal code FDIST-), for the areas i get via the filegate file distribution network...

    eg:
    DAILYLIST Directory
    Long Name ADM: Daily Fidonet Nodelist
    Short Name DAILYLIST
    Internal Code FDIST-DAILYLIS
    Transfer File Path ../data/dirs/fdist-dailylis/

    i've been using "addfiles fdist-dailylis blahblah" to work on only that one area... i think you are saying that if i use

    -l fdist-

    that only those areas will be handled...

    )\/(ark

    Always Mount a Scratch Monkey
    Do you manage your own servers? If you are not running an IDS/IPS yer doin' it wrong...
    ... Babies: jabbering, wet, snotty, life-sucking little poop machines.
    ---
    * Origin: (1:3634/12.73)
  • From Digital Man@1:103/705 to mark lewis on Mon Oct 1 13:40:06 2018
    Re: addfiles and default upload user
    By: mark lewis to Digital Man on Mon Oct 01 2018 06:11 am


    On 2018 Sep 30 17:21:20, you wrote to waldo kitty:

    i forgot about shell expansion... what i wanted to do was for addfiles
    to scan only the areas that start with "fido-"... that way i don't have
    to figure out how to manually process some 250+ areas...

    If all of the areas in the same file library, then you can use "-l <lib>", where <lib> is the library's short name.

    is library the same as group?

    It's the same "idea" as a message group, but they're called "file libraries" everywhere in Synchronet.

    i have the default file areas and i added a new group,

    New library.

    File Distribution Network (internal code FDIST-),

    I think you mean "internal code prefix" there.

    for the areas i get via the filegate file distribution network...

    eg:
    DAILYLIST Directory
    Long Name ADM: Daily Fidonet Nodelist
    Short Name DAILYLIST
    Internal Code FDIST-DAILYLIS
    Transfer File Path ../data/dirs/fdist-dailylis/

    i've been using "addfiles fdist-dailylis blahblah" to work on only that one area... i think you are saying that if i use

    -l fdist-

    that only those areas will be handled...

    If "fdist-" is the short name of the file library.

    digital man

    Synchronet/BBS Terminology Definition #56:
    XJS = External JavaScript
    Norco, CA WX: 90.6oF, 37.0% humidity, 8 mph E wind, 0.00 inches rain/24hrs
    --- SBBSecho 3.06-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From mark lewis@1:3634/12.73 to Digital Man on Sat Oct 6 13:25:38 2018

    On 2018 Sep 30 17:21:20, you wrote to waldo kitty:

    i forgot about shell expansion... what i wanted to do was for addfiles
    to scan only the areas that start with "fido-"... that way i don't have
    to figure out how to manually process some 250+ areas...

    If all of the areas in the same file library, then you can use "-l
    <lib>", where <lib> is the library's short name.

    apparently i'm still doing something wrong...

    File Dist Net Library

    Long Name: File Distribution Network
    Short Name: File Dist Net
    Internal Code Prefix: FDIST-

    none of the following command lines results in only this one library with 356+ areas defined being processed...

    $ /sbbs/exec/addfiles -l fdist- -sz -x "File Distribution"
    $ /sbbs/exec/addfiles -l FDIST- -sz -x "File Distribution"
    $ /sbbs/exec/addfiles -l File Dist Net -sz -x "File Distribution"
    $ /sbbs/exec/addfiles -l "File Dist Net" -sz -x "File Distribution"

    you can see i've tried using the library's internal code prefix as well as the short name...

    )\/(ark

    Always Mount a Scratch Monkey
    Do you manage your own servers? If you are not running an IDS/IPS yer doin' it wrong...
    ... I strive for perfection. What I get is reality!
    ---
    * Origin: (1:3634/12.73)
  • From Digital Man@1:103/705 to mark lewis on Sat Oct 6 14:10:44 2018
    Re: addfiles and default upload user
    By: mark lewis to Digital Man on Sat Oct 06 2018 01:25 pm

    On 2018 Sep 30 17:21:20, you wrote to waldo kitty:

    i forgot about shell expansion... what i wanted to do was for addfiles
    to scan only the areas that start with "fido-"... that way i don't have
    to figure out how to manually process some 250+ areas...

    If all of the areas in the same file library, then you can use "-l <lib>", where <lib> is the library's short name.

    apparently i'm still doing something wrong...

    File Dist Net Library

    Long Name: File Distribution Network
    Short Name: File Dist Net
    Internal Code Prefix: FDIST-

    none of the following command lines results in only this one library with 356+ areas defined being processed...

    $ /sbbs/exec/addfiles -l fdist- -sz -x "File Distribution"
    $ /sbbs/exec/addfiles -l FDIST- -sz -x "File Distribution"
    $ /sbbs/exec/addfiles -l File Dist Net -sz -x "File Distribution"
    $ /sbbs/exec/addfiles -l "File Dist Net" -sz -x "File Distribution"

    Only the last one looks correct.

    digital man

    Synchronet "Real Fact" #56:
    Synchronet Terminal Server introduced SecureShell (SSH) support w/v3.14a (2006).
    Norco, CA WX: 71.5oF, 65.0% humidity, 0 mph SSW wind, 0.00 inches rain/24hrs --- SBBSecho 3.06-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From mark lewis@1:3634/12.73 to Digital Man on Sat Oct 6 17:28:02 2018

    On 2018 Oct 06 14:10:44, you wrote to me:

    none of the following command lines results in only this one library
    with 356+ areas defined being processed...

    $ /sbbs/exec/addfiles -l fdist- -sz -x "File Distribution"
    $ /sbbs/exec/addfiles -l FDIST- -sz -x "File Distribution"
    $ /sbbs/exec/addfiles -l File Dist Net -sz -x "File Distribution"
    $ /sbbs/exec/addfiles -l "File Dist Net" -sz -x "File Distribution"

    Only the last one looks correct.

    it wasn't working... then i realized the CODE was missing so ran it as the following which worked a treat...

    $ /sbbs/exec/addfiles - -l "File Dist Net" -sz -x "File Distribution"

    ya gotta have that '-' right after "addfiles"...

    )\/(ark

    Always Mount a Scratch Monkey
    Do you manage your own servers? If you are not running an IDS/IPS yer doin' it wrong...
    ... One original share of Coca-Cola stock is now worth $92,500.
    ---
    * Origin: (1:3634/12.73)
  • From Digital Man@1:103/705 to mark lewis on Sat Oct 6 15:49:58 2018
    Re: addfiles and default upload user
    By: mark lewis to Digital Man on Sat Oct 06 2018 05:28 pm


    On 2018 Oct 06 14:10:44, you wrote to me:

    none of the following command lines results in only this one library
    with 356+ areas defined being processed...

    $ /sbbs/exec/addfiles -l fdist- -sz -x "File Distribution"
    $ /sbbs/exec/addfiles -l FDIST- -sz -x "File Distribution"
    $ /sbbs/exec/addfiles -l File Dist Net -sz -x "File Distribution"
    $ /sbbs/exec/addfiles -l "File Dist Net" -sz -x "File Distribution"

    Only the last one looks correct.

    it wasn't working... then i realized the CODE was missing so ran it as the following which worked a treat...

    $ /sbbs/exec/addfiles - -l "File Dist Net" -sz -x "File Distribution"

    ya gotta have that '-' right after "addfiles"...

    Yup, I apologize for the horrible command-line syntax. It's one of the oldest SBBS utilities and its age shows.

    digital man

    Synchronet "Real Fact" #72:
    Synchronet CIOXTRN (created by Deuce) is a 32-bit replacement for DOORWAY. Norco, CA WX: 73.1oF, 62.0% humidity, 9 mph SE wind, 0.00 inches rain/24hrs
    --- SBBSecho 3.06-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Mortifis@1:103/705 to Digital Man on Sat Oct 6 21:15:08 2018

    Yup, I apologize for the horrible command-line syntax. It's one of the oldest SBBS utilities and its age shows.

    digital man

    No offense, brah, I've been running SBBS since v200g and asking you questions since ..and all I can say is ... you're the oldest commandline utility still running ... but yer not showing yer age :-P

    ---
    * Synchronet * Twisted Truckers BBS web asmf-etrucker.com:81 telnet asmf-etrucker.com
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)