mirror of
https://github.com/AG7GN/nexus-utilities.git
synced 2025-05-16 06:30:09 -07:00
Fixed trim scripts
This commit is contained in:
parent
5764152937
commit
23f0c7b23f
@ -1 +1 @@
|
|||||||
VERSION="2.1.5"
|
VERSION="2.1.6"
|
@ -1,6 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
VERSION="1.16.6"
|
VERSION="1.16.7"
|
||||||
|
|
||||||
#
|
#
|
||||||
# Script to generate new VNC server and SSH server keys at boot time if a certain
|
# Script to generate new VNC server and SSH server keys at boot time if a certain
|
||||||
@ -95,7 +95,7 @@ done
|
|||||||
DIRS=".fldigi .fldigi-left .fldigi-right"
|
DIRS=".fldigi .fldigi-left .fldigi-right"
|
||||||
for D in $DIRS
|
for D in $DIRS
|
||||||
do
|
do
|
||||||
for F in $(ls -R $DIR/$D/*log* 2>/dev/null)
|
for F in $DIR/$D/*log*
|
||||||
do
|
do
|
||||||
[ -e $F ] && [ -f $F ] && rm -f $F
|
[ -e $F ] && [ -f $F ] && rm -f $F
|
||||||
done
|
done
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
VERSION="1.5"
|
VERSION="1.5.1"
|
||||||
|
|
||||||
#
|
#
|
||||||
# This script removes log files from the $HOME/.fldigi* folder(s) and subfolders.
|
# This script removes log files from the $HOME/.fldigi* folder(s) and subfolders.
|
||||||
@ -44,7 +44,7 @@ fi
|
|||||||
|
|
||||||
for D in $DIRS
|
for D in $DIRS
|
||||||
do
|
do
|
||||||
for F in $(ls -R ${D}/*log* 2>/dev/null)
|
for F in ${D}/*log*
|
||||||
do
|
do
|
||||||
[ -e $F ] && [ -f "$F" ] && ! [[ $F =~ logbook ]] || continue
|
[ -e $F ] && [ -f "$F" ] && ! [[ $F =~ logbook ]] || continue
|
||||||
STAMP="$(stat -c %Y $F)"
|
STAMP="$(stat -c %Y $F)"
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
VERSION="1.5"
|
VERSION="1.5.1"
|
||||||
|
|
||||||
#
|
#
|
||||||
# This script removes log files from the $HOME/.flmsg* folder(s) and subfolders.
|
# This script removes log files from the $HOME/.flmsg* folder(s) and subfolders.
|
||||||
@ -46,7 +46,7 @@ for D in $DIRS
|
|||||||
do
|
do
|
||||||
for S in $SDIRS
|
for S in $SDIRS
|
||||||
do
|
do
|
||||||
for F in $(ls -R ${D}${S} 2>/dev/null)
|
for F in ${D}${S}
|
||||||
do
|
do
|
||||||
[ -e "$F" ] && [ -f "$F" ] || continue
|
[ -e "$F" ] && [ -f "$F" ] || continue
|
||||||
STAMP="$(stat -c %Y $F)"
|
STAMP="$(stat -c %Y $F)"
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
VERSION="1.5"
|
VERSION="1.5.1"
|
||||||
|
|
||||||
# This script removes log files from the $HOME/.flrig* folder(s) and subfolders.
|
# This script removes log files from the $HOME/.flrig* folder(s) and subfolders.
|
||||||
# Files with "last modified" timestamps that are before the specified time
|
# Files with "last modified" timestamps that are before the specified time
|
||||||
@ -43,7 +43,7 @@ fi
|
|||||||
|
|
||||||
for D in $DIRS
|
for D in $DIRS
|
||||||
do
|
do
|
||||||
for F in $(ls -R ${D}/*txt* 2>/dev/null)
|
for F in ${D}/*txt*
|
||||||
do
|
do
|
||||||
[ -e "$F" ] && [ -f "$F" ] || continue
|
[ -e "$F" ] && [ -f "$F" ] || continue
|
||||||
STAMP="$(stat -c %Y $F)"
|
STAMP="$(stat -c %Y $F)"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user