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"
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"
/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.
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...
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.
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...
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.
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"
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.
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
| Sysop: | Winzlo |
|---|---|
| Location: | Minnesota, USA |
| Users: | 11 |
| Nodes: | 16 (0 / 16) |
| Uptime: | 495943:08:24 |
| Calls: | 82 |
| Files: | 1,070 |
| D/L today: |
27 files (11,920K bytes) |
| Messages: | 287,027 |