When I build one of my apps, I have to do a lot of copying & pasting of files; this has caused me trouble more than once, so I've decided to do something about it.
Toucan's sync feature would be perfect for this, but I can't figure out how to set a custom string variable (the version of my app, for example "0.25.9.0"). Since the source & destination folders both depend on the app version, that's fairly important for me.
If Toucan can't do that, don't worry about it; I'm just wondering if there's a way to do it.
Thank you!
I got a bit frustrated typing a looooong path over and over again in a script, so I just looked up how to set environment variables on my machine (WinXP).
I've got BACKUPS permanently set to C:\Documents and Settings\Jim\PortableApps\Backups
Then I have the lines in the script like this:
|Rename "@BACKUPS@\\Finance-7.7z" "@BACKUPS@\\Finance-8.7z"
|Rename "@BACKUPS@\\Firefox-7.7z" "@BACKUPS@\\Firefox-8.7z"
etc....
I'm pretty sure you can use some kind of batch to temporarily set the environment variable to whatever you need, run whatever job using the environment variable, then do whatever.
If you are saving daily versions, you can always use @DATE@ in the backup filename...
neutron1132 (at) usa (dot) com
Given Toucan's command-line abilities, a batch file could be just what I need.
I'll see what I can cook up in a batch file; should just be something like this:
No dailies, fortunately, so there's only one environment variable to worry about.
Thanks for the suggestion!
"The question I would like to know, is the Ultimate Question of Life, the Universe and Everything. All we know about it is that the Answer is Forty-two, which is a little aggravating."
Happy to help.
Good luck with the project.
neutron1132 (at) usa (dot) com