On 3/5/07, Eric Smith <[EMAIL PROTECTED]> wrote:
Hi I want to absolutely be sure of never losing any data I enter into a terminal. A security feature like hardcaopy log <command> H would be perfect but say I want to curtail the size of this file to have at any time only the last n kB, what would be a good (elegant) way to do this? Not sure logrotate is really attractive.
Nothing a shell script can't handle. #!/bin/sh SL=screenlog-`date +%m-%d-%y-%H:%M` if [ -f $1 ] ; then mv $1 $SL else echo "Specify screen log file to archive..." fi -- Andy Harrison
_______________________________________________ screen-users mailing list screen-users@gnu.org http://lists.gnu.org/mailman/listinfo/screen-users