screen-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Customizing hardcopy


From: Trent W. Buck
Subject: Re: Customizing hardcopy
Date: Sat, 11 Oct 2008 13:25:12 +1100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

"Jean-Baptiste Aviat" <address@hidden>
writes:

> Hello dears,
>
> I would like to be able to do harcopies in new files, in order to never 
> overwrite any. Files could be named this way :
>  - hardcopy_2008-10-10_at_12h59m01
>  - hardcopy_2008-10-10_at_12h59m05
>  - hardcopy_2008-10-10_at_13h01m37
>  - ...
>
> I'm trying to define a new shortcut in .screenrc like :
>
> bind g "screen -X hardcopy ./hardcopy_`date +%Y-%m-%d_at_%Hh%Mm%S`"

Untested, but I think you want

  bind g exec sh -c 'screen -X hardcopy hardcopy_`date +%Y-%m-%d_at_%Hh%Mm%S`'





reply via email to

[Prev in Thread] Current Thread [Next in Thread]