[TxMt] save as copy

Tobias Jung newsgr at tobiasjung.net
Tue Mar 11 14:13:56 UTC 2008


At 14:47 Uhr +0100 11.03.2008, Hans-Joerg Bibiko wrote:
>  On 11 Mar 2008, at 14:35, Mark Eli Kalderon wrote:
>>>  any suggestions for how I might approach this better, or is there an
>>>  option for "save a copy of this with a new name and work in the
>>>  original"
>>
>>  Well, you could use version control. That way, you commit and continue
>>  working...
>
>  My workflow is that
>  bound to shift+apple+s
>
>  Is a shell script:
>
>  res=$(CocoaDialog filesave --title "Save As Copy" --with-file "$TM_FILENAME")
>  cat > "$res"
>
>  input: entire doc
>  output: discard

Thank you, but this doesn't work for me (TextMate 1.5.7 under MacOS X 10.4.10).

e.g. I'm editing in the file "test.txt", select your "Save as Copy" 
bundle, enter "test01.txt" as file name... and a zero byte file 
called "test01.txt cat" is saved to my hard disk.

What's going wrong?

Kind regards,
Tobias Jung



More information about the textmate mailing list