[TxMt] Feature Req: "Save a Copy as" in File Menu

Kai Vermehr k at eboy.com
Tue Jan 31 21:08:47 UTC 2006


thanks Allan, this is much better than native!!!

On 30.01.2006, at 22:37, Allan Odgaard wrote:

> On 28/1/2006, at 22:18, Kai Vermehr wrote:
>
>> it would be great to have the choice to save a copy of the current  
>> document. This way, I could make an easy backup while continuing  
>> to work on the original.
>>
>> Or is there an alternative solution?
>
> While it might be good to have as a native feature (as it's sort of  
> “standard”) what you can do for now is create a new command.
>
> For that command set the input to “Entire Document” and let the  
> command e.g. be:
>
>    cat >"$(date +%Y-%m-%dT%H:%M:%S)_${TM_FILENAME:-untitled}"
>
> That will then write the entire document into a file named as the  
> current, but putting current date and time as prefix. So should be  
> useful for quickly making a backup of current file.
>
>
> ______________________________________________________________________
> For new threads USE THIS: textmate at lists.macromates.com
> (threading gets destroyed and the universe will collapse if you don't)
> http://lists.macromates.com/mailman/listinfo/textmate
--
k 'E  B  O  Y
. /|\/|\/|\/|\
. / \/ \/ \/ \




More information about the textmate mailing list