First time here? Check out the FAQ!
1

Save as copy

  • retag add tags

It would be nice to be able to save a copy of a file which wouldn't change the name or location of the current file.

This would be helpful when working with remote projects when you choose to not have version control on the remote host. Copies could be made to the local host where version control, and backups, would be managed.

An additional feature that could be added to the above feature would be to mirror the remote file with a local file. Basically when the remote file is saved the local copy would be updated/overwritten with a copy of the remote file.

MikeA's avatar
21
MikeA
asked 2023-06-17 22:38:45 -0600
Wingware Support's avatar
4.1k
Wingware Support
updated 2023-06-28 09:46:58 -0600
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

0

You could use the write-file command via Edit > Command By Name or by binding it to key, though the write-file prompts for the name to save to. You could also write a Wing extension script and save a copy in a presave handler.

If you want to mirror remote files to the local machine or vice-versa, you may want to look at the rsync command line utility -- this can be used independently of Wing.

Wingware Support's avatar
4.1k
Wingware Support
answered 2023-06-19 05:49:10 -0600
edit flag offensive 0 remove flag delete link

Comments

I'm looking into using the API.

Thanks for the information.

MikeA's avatar MikeA (2023-06-20 13:19:48 -0600) edit
add a comment see more comments

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss.

Add Answer