[Gllug] Year, month,day?
Tethys
tet at accucard.com
Tue Nov 12 13:01:35 UTC 2002
"Richard Cottrill" writes:
>I'll put in my vote for a small script. There is certainly a one-line
>version of this script which I am not sufficiently knowledgeable (nor
>inclined) to produce.
Well, if you insist:
today=`date +%Y%m%d`; for file in *; do case "$file" in *"$today") gzip "$file" ;; esac; done
Tet
--
Gllug mailing list - Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug
More information about the GLLUG
mailing list