• Re: Porting Sync on Windows to Linux?

    From Digital Man@VERT to Mro on Wed Apr 4 00:09:36 2012
    Re: Re: Porting Sync on Windows to Linux?
    By: Mro to Access Denied on Tue Apr 03 2012 12:20 pm

    Re: Re: Porting Sync on Windows to Linux?
    By: Access Denied to Mro on Mon Apr 02 2012 06:20 pm


    do you guys also have a problem with addfiles not working correctly unless you delete the data files for your file dirs then run addfiles * /zsn

    Which data files are you talking about? I don't think I've ever had to delete any data files. The only files that get deleted are the files.bbs (description) files that get created by my file tosser so that addfiles does not actually upload them to the BBS (using addfiles <name> -diz rather than -szn).


    when i use the command line /sbbs/exec/addfiles * /zsn it attempts to
    use the actual data files in sbbs/data/dirs and throws out an error msg. it's like it's attempting to use them on a case by case basis as the dir code but it's filename.ext or something.

    when i delete the data files that store the descriptions and that dir is blank, addfiles * /zsn imports all my files in all my file bases.

    '*' doesn't do what you expect on *nix shells (e.g. bash), so either use '\*' or better yet, use the supported syntax shown when you run "addfiles":

    ADDFILES v3.02-Linux (rev 1.48) - Adds Files to Synchronet Filebase

    usage: addfiles code [.alt_path] [-opts] +list [desc_off] [size_off]
    or: addfiles code [.alt_path] [-opts] file "description"

    available opts:
    -a import ASCII only (no extended ASCII)
    -b synchronize database with file list (use with caution)
    -c do not remove extra spaces from file description
    -d delete list after import
    -e do not import extended descriptions
    -f include file date in descriptions
    -t include today's date in descriptions
    -i include added files in upload statistics
    -n do not update information for existing files
    -o update upload date only for existing files
    -u do not update upload date for existing files
    -z check for and import FILE_ID.DIZ and DESC.SDI
    -k keep original short description (not DIZ)
    -s search directory for files (no file list)
    -l <lib> specify library (short name) to Auto-ADD
    -x <name> specify uploader's user name (may require quotes)

    Auto-ADD: use - in place of code for Auto-ADD of FILES.BBS
    use -filename to Auto-ADD a different filename
    use -l "libname" to only Auto-ADD files to a specific library


    digital man

    Synchronet "Real Fact" #10:
    DOVE-Net was originally an exclusive ("elite") WWIVnet network in O.C., Calif. Norco, CA WX: 59.2F, 49.0% humidity, 4 mph ENE wind, 0.00 inches rain/24hrs ---
    Synchronet Vertrauen Home of Synchronet telnet://vert.synchro.net
  • From Mro@VERT to Access Denied on Wed Apr 4 06:52:17 2012
    Re: Re: Porting Sync on Windows to Linux?
    By: Access Denied to Mro on Tue Apr 03 2012 07:19 pm

    Re: Re: Porting Sync on Windows to Linux?
    By: Mro to Access Denied on Tue Apr 03 2012 12:20 pm

    when i use the command line /sbbs/exec/addfiles * /zsn it
    use the actual data files in sbbs/data/dirs and throws out
    it's like it's attempting to use them on a case by case ba
    code but it's filename.ext or something.

    Just to see if it makes a difference, try specifying the inte
    directory you want to add files to. To be honest, I remember
    get "*" working, either. So to import all my fidonet files in
    manually specify every echo separately (ie: /sbbs/exec/addfil
    -- which you would be using -szn anyways). Also, if you're do
    try "-szn" instead of "/szn". Linux uses the hyphen instead o
    slash in the [-opts] field.

    --
    Nick aka axisd - telnet://bbs.pharcyde.org
    http://pharcyde.org


    well i have a lot of file areas. once i am done setting up i can make a script i guess. now i just do what i said before to get addfiles * working


    ---
    Synchronet ::: BBSES.info - free BBS services :::
  • From Mro@VERT to Digital Man on Wed Apr 4 06:54:07 2012
    Re: Re: Porting Sync on Windows to Linux?
    By: Digital Man to Mro on Wed Apr 04 2012 12:09 am

    Re: Re: Porting Sync on Windows to Linux?
    By: Mro to Access Denied on Tue Apr 03 2012 12:20 pm

    Re: Re: Porting Sync on Windows to Linux?
    By: Access Denied to Mro on Mon Apr 02 2012 06:20 pm


    do you guys also have a problem with addfiles not wo
    unless you delete the data files for your file dirs
    * /zsn

    Which data files are you talking about? I don't think I
    delete any data files. The only files that get deleted
    (description) files that get created by my file tosser
    does not actually upload them to the BBS (using addfile
    rather than -szn).


    when i use the command line /sbbs/exec/addfiles * /zsn it
    use the actual data files in sbbs/data/dirs and throws out
    it's like it's attempting to use them on a case by case ba
    code but it's filename.ext or something.

    when i delete the data files that store the descriptions a
    blank, addfiles * /zsn imports all my files in all my file

    '*' doesn't do what you expect on *nix shells (e.g. bash), so
    or better yet, use the supported syntax shown when you run "a


    oh i didnt think to look at the syntax. i thought it was the same as the win32 one


    ---
    Synchronet ::: BBSES.info - free BBS services :::
  • From Deuce@VERT to Mro on Wed Apr 4 12:16:42 2012
    Re: Re: Porting Sync on Windows to Linux?
    By: Mro to Access Denied on Tue Apr 03 2012 12:20 pm

    when i use the command line /sbbs/exec/addfiles * /zsn it attempts to
    use the actual data files in sbbs/data/dirs and throws out an error msg. it's like it's attempting to use them on a case by case basis as the dir code but it's filename.ext or something.

    The shell expands the *, so you need to escape it.

    /sbbs/exec/addfiles \* /zsn

    ---
    http://DuckDuckGo.com/ a better search en
  • From Deuce@VERT to Mro on Wed Apr 4 12:22:33 2012
    Re: Re: Porting Sync on Windows to Linux?
    By: Mro to Digital Man on Wed Apr 04 2012 06:54 am

    oh i didnt think to look at the syntax. i thought it was the same as the win32 one

    It is.

    ---
    http://DuckDuckGo.com/ a better search engine that respects your privacy.
    Synchronet My Brand-New BBS (All the cool SysOps run STOCK!)
  • From Mro@VERT to Deuce on Wed Apr 4 17:42:13 2012
    Re: Re: Porting Sync on Windows to Linux?
    By: Deuce to Mro on Wed Apr 04 2012 12:22 pm

    Re: Re: Porting Sync on Windows to Linux?
    By: Mro to Digital Man on Wed Apr 04 2012 06:54 am

    oh i didnt think to look at the syntax. i thought it was the same as the win32 one

    It is.


    oh it says use - for files.bbs you might want to change the text string

    ---
    Synchronet ::: BBSES.info - free BBS services :::