In linux I have this command and functions in mind nad use.
---snip---
if [ -a nodelist.${num} ]; then goto latest; fi
else
cp nodelist.${oldnum} /home/fido/makenl/z115fake/
goto chckfile
:latest
cp nodelist.${num} /home/fido/makenl/z115fake/
:chckfile
####
# some other linux command and functions for check and move files here under.
---snip---
The linux command and function shall could check if the new julianfile
dat
nodelist/pasnlist is copied to a place and if it not is the julian day
then jump to another section and copy the latest there is, but if itthere
is the julian day file cp it and jump over the section for the old file copy.
it could maybe just be done with 2 line of if statements.
if [ -a nodelist.${oldnum ]; then copy nodelist.${oldnum}; fi
if [ -a nodelist.${num} ]; then copy nodelist.${num}; fi
so the function only copy the old nodelist when it not find the
julian fay
nodelist there will be the next weeks nodelist.
In linux I have this command and functions in mind nad use.
---snip---
if [ -a nodelist.${num} ]; then goto latest; fi
else
cp nodelist.${oldnum} /home/fido/makenl/z115fake/
goto chckfile
:latest
cp nodelist.${num} /home/fido/makenl/z115fake/
:chckfile
####
# some other linux command and functions for check and move files here under.
---snip---
The linux command and function shall could check if the new julianfile
dat
nodelist/pasnlist is copied to a place and if it not is the julian day
then jump to another section and copy the latest there is, but if itthere
is the julian day file cp it and jump over the section for the old file copy.
it could maybe just be done with 2 line of if statements.
if [ -a nodelist.${oldnum ]; then copy nodelist.${oldnum}; fi
if [ -a nodelist.${num} ]; then copy nodelist.${num}; fi
so the function only copy the old nodelist when it not find the
julian fay
nodelist there will be the next weeks nodelist.
Sysop: | digital man |
---|---|
Location: | Riverside County, California |
Users: | 1,042 |
Nodes: | 15 (1 / 14) |
Uptime: | 156:39:35 |
Calls: | 500,919 |
Calls today: | 6 |
Files: | 109,372 |
D/L today: |
13,592 files (2,211M bytes) |
Messages: | 305,041 |
Posted today: | 6 |