[arm-allstar] Archive Directory Filename Customization

David McGough kb4fxc at inttek.net
Thu Feb 1 12:02:54 EST 2018


Hi John,

Here is another simple way to dynamically convert the filenames to the 
format you'd like to see:

First "cd" into your sound-file folder. And then run:


ls -1 *WAV  | awk '{printf ("%s-%s\n", substr($1,1,8), substr($1,9,30))}'


73, David KB4FXC


On Thu, 1 Feb 2018, "John Huggins via arm-allstar" wrote:

> Thanks for the response Doug. Comments below.
> 
> On Wed, Jan 31, 2018 at 11:43 PM, "Doug Crompton via arm-allstar"
> <arm-allstar at hamvoip.org> wrote:
> > John,
> >
> >   Let me correct what I said as it was probably confusing the way I wrote
> > it...  The node number is appended to the path.
> 
> Yeah I did know that, but didn't make it clear. Sorry about that.
> 
> > You cannot change the
> > filename.
> 
> How sad. Well please consider this a feature request. All I really
> hope for is a dash between the YYYYMMDD and the Time. This...
> 
>   20180130055931.WAV
> 
> ...to this...
> 
>   20180130-055931.WAV
> 
> Why? When parsing through all these files during an investigation it
> really helps to quickly be able to note the time at a glance rather
> than having to parse it in one's head continuously.
> 
> That said, the scorecard for this feature is pretty good. Two days
> after turning it on and evidence of unwelcome behavior presented to an
> individual who voluntarily removed himself from the scene, we now have
> one less whacker on our system... and the women are trickling back to
> the repeater already!
> 
> Allstar/HamVOIP... making a difference... thanks!
> 
> John
> 
> >
> > 73 Doug
> > WA3DSP
> > http://www.crompton.com/hamradio
> >
> >
> > On Wed, Jan 31, 2018 at 11:39 PM, Doug Crompton <wa3dsp at gmail.com> wrote:
> >>
> >> John,
> >>
> >>  The filename is always the node number. So in your example if you had
> >> that define in node [40000] the file name would be
> >>
> >> /media/USB/40000
> >>
> >> If you had a second node and it was [40001] the filename would be
> >>
> >> /media/USB/40001
> >>
> >> In other words you can define the path but not the file name.
> >>
> >> 73 Doug
> >> WA3DSP
> >> http://www.crompton.com/hamradio
> >>
> >>
> >>
> >> On Wed, Jan 31, 2018 at 10:28 PM, "John Huggins via arm-allstar"
> >> <arm-allstar at hamvoip.org> wrote:
> >>>
> >>> All,
> >>>
> >>> When we make use of the archive feature by setting rpt.conf to this...
> >>>
> >>>   archivedir = /media/USB
> >>>
> >>> ...where is the setting to customize the filename format?
> >>>
> >>> Thanks.
> >>>
> >>> 73
> >>> John, kx4o
> >>> _______________________________________________
> >>>
> >>> arm-allstar mailing list
> >>> arm-allstar at hamvoip.org
> >>> http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar
> >>>
> >>> Visit the BBB and RPi2/3 web page - http://hamvoip.org
> >>
> >>
> >
> >
> > _______________________________________________
> >
> > arm-allstar mailing list
> > arm-allstar at hamvoip.org
> > http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar
> >
> > Visit the BBB and RPi2/3 web page - http://hamvoip.org
> _______________________________________________
> 
> arm-allstar mailing list
> arm-allstar at hamvoip.org
> http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar
> 
> Visit the BBB and RPi2/3 web page - http://hamvoip.org
> 



More information about the arm-allstar mailing list