EmEditor (text editor) Forum Index
   Questions and Answers about EmEditor Core
     Backup of sourcefiles
Register To Post

Threaded | Oldest First Previous Topic | Next Topic | Bottom
Poster Thread
MattG
Posted on: 5/18/2010 2:14 am
Just popping in
Joined: 5/11/2010
From: Mainz / Germany
Posts: 12
Re: Backup of sourcefiles
Hi!

Simply Perfect...

thanks a lot
Matthias
Yutaka
Posted on: 5/17/2010 10:00 am
Webmaster
Joined: 9/28/2006
From: Redmond
Posts: 2397
Re: Backup of sourcefiles
You can write a macro to change backup settings.

This is just an example how you write that macro:

cfg = document.Config;
cfg.Backup.SaveToFolder = true;
cfg.Backup.Folder = "C:\BackupFolder";
cfg.Save();


Please let me know if you have further questions.
Thanks!


----------------
Yutaka Emura
Developer of EmEditor
http://www.emeditor.com/

MattG
Posted on: 5/17/2010 9:46 am
Just popping in
Joined: 5/11/2010
From: Mainz / Germany
Posts: 12
Re: Backup of sourcefiles
Hi!

Thanks for your fast reply, would be great to see something like that in a future release.

Another question, would it be possible to "selfmodify" the configuration?
I mean, if I remember right, sorry still a newbie with emeditor, I save my macros with my project, or my "solution", still not quite familiar with that dependencies and naming.
So I could write a macro which sets a new BackupDirectory for every "project" I have and fire it up if I load that project, modify my settings and would have a little bit tricky workaround.

Fiction or would that be a possible way, hehehe didnt say that would simple ?

cheers
Matthias
Yutaka
Posted on: 5/17/2010 8:03 am
Webmaster
Joined: 9/28/2006
From: Redmond
Posts: 2397
Re: Backup of sourcefiles
Hello Matthias,

Thank you for using EmEditor!

I might consider more sophisticated backup settings in future versions. Thank you!


----------------
Yutaka Emura
Developer of EmEditor
http://www.emeditor.com/

MattG
Posted on: 5/17/2010 3:27 am
Just popping in
Joined: 5/11/2010
From: Mainz / Germany
Posts: 12
Backup of sourcefiles
Hi!

Is it possible to have File-Backups depending on Projects?
E.g I have Project "Fubar" with files like r:\projects\Fubar\src\foo.lua and I would like to have my Backup-Files for that in r:\projects\Fubar\bak\foo.lua.bak

On an other project "Kerfuffle" I'll have a layout r:\projects\kerfuffle\src\blabber.lua and with expected backup-files in r:\projects\kerfuffle\bak\blabber.lua.bak

I found only a "Backup" in the Configuration-Dialog, but that seems to be for all Files concertning that Type, oder is it possible to have some Wildcards in the "Backup Folder", didnt found that.

Sure I could use my svn and check my files always in, but at my point of view that is not necessary.

cheers
Matthias
Threaded | Oldest First Previous Topic | Next Topic | Top


Register To Post
 
English čeština Deutsch español français italiano 日本語 한국어 Русский 简体中文 繁體中文