[Dxspider-support] Deleting files

Jan cluster at pa4jj.nl
Fri May 27 12:00:01 BST 2022


Hello Dirk

Yes I know and  I have this

spiderdir="/spider/local_data/spots/2022" if [ -n "$spiderdir" ] && [ -d
"$spiderdir" ]; then
# only keep three days' depth of these
find "$spiderdir" -type f -mtime +3 -exec rm {} \; fi



Op 27-5-2022 om 12:50 schreef Dirk Koopman via Dxspider-support:
> They have changed location to /spider/local_data from /spider/data.
>
> On 27/05/2022 11:39, Jan via Dxspider-support wrote:
>> I have a question
>>
>> I want to delete spots, debug and log files which are older then 3 
>> days from my SD-card.
>>
>> I used to do this with a script which worked ok in the previous 
>> version but it seems not to work in Ver1.57 build 441
>>
>> So my question is:
>>
>> Is there another script available to do this?
>>
>> 73
>> Jan
>> PA4JJ
>> ______________________________________________________
>>
>> My dxspider clusters running 24/7 on a raspberry pi 2
>> pa4jj-2 telnet 77.174.195.163 port 7300
>> pa4jj-3 telnet 77.174.195.163 port 7388
>>
>> _______________________________________________
>> Dxspider-support mailing list
>> Dxspider-support at tobit.co.uk
>> https://mailman.tobit.co.uk/mailman/listinfo/dxspider-support
>
>
> _______________________________________________
> Dxspider-support mailing list
> Dxspider-support at tobit.co.uk
> https://mailman.tobit.co.uk/mailman/listinfo/dxspider-support

-- 
73
Jan
PA4JJ
______________________________________________________

My dxspider clusters running 24/7 on a raspberry pi 2
pa4jj-2 telnet 77.174.195.163 port 7300
pa4jj-3 telnet 77.174.195.163 port 7388
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.tobit.co.uk/pipermail/dxspider-support/attachments/20220527/8af9468f/attachment.htm>


More information about the Dxspider-support mailing list