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.2°F, 49.0% humidity, 4 mph ENE wind, 0.00 inches rain/24hrs
---
■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ telnet://vert.synchro.net
|